I want to insert 40000 records that i get from a web service into a sqlite database in my iPad app.
I wrote the following code, but it takes around 20 minutes, is th
For me, calling BEGIN TRANSACTION then loading some 20 inserts, then calling COMMIT TRANSACTION gave an 18x performance increase - great tip! Caching the prepared statements was little help.