World: r3wp
[SQLite] C library embeddable DB .
older | first |
ddharing 7-Mar-2011 [1158x2] | I'm referring to the SQLite version. The current is 3.7.5. You can check the synchronous setting by executing the following query -- pragma synchronous. It will return a 0 (off), 1(normal) or 2 (full). See http://sqlite.org/pragma.html#pragma_synchronous. I've had database corruption before because I didn't backup the files correctly. It's best to use the backup API and not just copy the files. |
Is there just one process accessing the files? I also use the WAL journal mode for better concurrency. Much less chance of getting SQLIte file locks when multiple processes are reading/writing the database. See http://sqlite.org/pragma.html#pragma_journal_mode. | |
GrahamC 8-Mar-2011 [1160:last] | desktop because people run all sorts of junk on their PCs causing corruption! |
older | first |