If I'm not mistaken only WAL mode supports simulaneous read/write.
For any other mode any write function will lock the database.
So...selects may run into a need to wait until a write finishes.


Michael D. Black
Senior Scientist
NG Information Systems
Advanced Analytics Directorate



________________________________________
From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Frank Chang [frank_chan...@hotmail.com]
Sent: Monday, February 21, 2011 3:46 PM
To: sqlite-users@sqlite.org
Subject: EXT :Re: [sqlite] sqlite3_busy_handler

Michael D. Black, I will try different batch sizes so that other processes do 
their thing potentially. I was wondering why other selects who need to only 
read from a sqlite database need to use the sqlite3_busy_handlers. Is it 
because database connection which are writing to the sqlite database have a 
higher priority then database connections which are reading from the sqlite 
database? Thank you for your suggestions.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to