Does the Raspberry Pi have /tmp on a tmpfs file system? If so, just put your working DB there, and every so often (in a separate process) do:
sqlite3 /tmp/workingDB .dump | sqlite3 /actualfilesystem/newpermanentD +B
There's even no need to close your connection from perl.
In reply to Re: Putting an SQLite DB file into memory
by tybalt89
in thread Putting an SQLite DB file into memory
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |