I have two processes:
- Writes to two tables every second (ish)
- Reads from said tables periodically
I know that with SQLite, any writes lock the whole database and so sometimes the second process can fail with a locked database.
Is there anything you can suggest that would completely remove the need for these two processes to touch the same database? For example, could I atomically transfer the data from the database being written to a second read-only database?
Thanks :)