Hello, 

That make sense. Thanks for explanation. Still waiting for read process to
end, but I am very hopeful it will succeed.

Sumit

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Julien Laffaye
Sent: 12 August 2011 17:59
To: [email protected]
Subject: Re: [sqlite] Bulk Insert

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
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to