On 08/12/2011 14:25, Sumit Gupta wrote:
> Hello,
>
> Thanks for your suggestion, yup the Speed with Transaction is increase
> multifold. In 5 minute it read half the data. But wondering what different
> the Transaction make as compare to normal insert query ? Why is it faster
> here. I didn't change anything, just wrap the Insert query or rather my read
> Binary Loop in Sqlite transaction only.
Because SQLite does not wait after each INSERT for the data to be on the 
media.
FYI, if you dont specify a transaction, it is like you execute each 
INSERT withing its own transaction.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to