Database locking redux
Feb 4, 2011 20:23:58 GMT -5
Post by David den Haring on Feb 4, 2011 20:23:58 GMT -5
You're not doing any vacuums are you? That will flip you from WAL back to DELETE mode.
You're not doing any vacuums are you? That will flip you from WAL back to DELETE mode.
Have you tried the WAL_CHECKPOINT pragma? That gives you control over when a checkpoint happens. I believe a checkpoint locks the database file.
[connectSql]
sqliteconnect #sql, DbPath$ ' Connect to the DB
#sql execute("PRAGMA locking_mode=NORMAL")
#sql execute("PRAGMA synchronous=0")
#sql execute("PRAGMA journal_mode=WAL")
RETURN