Some of your writes may be failing with SQLITE_BUSY or SQLITE_LOCKED if
others take too long to complete. If this is happening, you should retry
the write until it succeeds or increase your busy timeout (or both).

Cheers,
Dave.


-----Original Message-----
From: SATISH [mailto:g.satis...@gmail.com] 
Sent: 21 January 2009 01:38
To: 'General Discussion of SQLite Database'
Subject: [sqlite] SQLITEBUSYTIMEOUT

Hi!

                 I am having 10 threads in my application by default my
application uses UTF-16, where I use the 10 threads to open the same
sqlite
file and write in 10 different tables simultaneously.these all threads
write
around 7000 records in 10 different tables.

While a thread opens the connection I will set the SQLite Busy timeout
to 60
seconds. Each thread will sleep until their turn comes and writes into
database.After Complete execution of 10 threads  . I have found 12
records
which were not written into sqlite file out of 7000 Records.

 

Can U Please tell me Why this loss of Information is occurring.

 

Regards

G.Satish.


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

Reply via email to