Alberto Simões wrote:
Hi

I have a file (big file with 16 000 000 lines) with records like

2 3 4
4 3 2
5 4 387
5 8 5473
...

and I want to import this to an SQLite table.
Although I can replace all this to INSERT commands very easily, I
would like to ask first if there is any faster method.

I insert 150 000 records with a prepared statement in one single transaction and it takes about 12 secs. I think that's fast enough :) Mind you my table doesn't have indexes. Indexes make inserting notably slower.


-veikko


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to