Hi Rod,

Regarding: *Insert rate*: 7/sec.

You'll want to wrap your INSERT loop in a transaction, i.e., BEGIN /
COMMIT.

Without a transaction, each INSERT has to wait for multiple disk
revolutions.

http://www.sqlite.org/lang_transaction.html

If you have a huge number of inserts, you may want to get fancy and
start a new transaction every several thousand.

I think you'll find a marked difference.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to