Hi,
I have an application which uses SQLite. Every update command etc. is instantly written to file, everything works.
Now I wonder if it would make more sense to copy the database from file to memory at the beginning (of the program execution), then working only in memory, and at the end (of program execution) writing the database back from memory to file.
Another advantage would be that synchronizing software like Dropbox etc. would synchronize this file only at the end and not with every SQL update command (because I'm planning to keep the database file synchronized in future).
What do you think? Would it make sense to change my application in the way I described?
Are there free pascal examples of moving the database "back and forth"?
Thank you!
stem