You are not logged in.
Pages: 1
Hi all,
Is there anyone to advise the most efficient way that the fastest code for the inserting to sqlite from csv data.
Have fun mormot
Offline
Some ideas about SQLite itself:
1) Open the DB in exclusive mode
2) Use several transactions
3) Multi-insert as we do for the ORM
4) Create the indexes after the insertion
And for the CSV we have fast CSV parsing in the framework.
You will reach 1,000,000 inserts per second as we do with the ORM.
Offline
Pages: 1