I have an Sqlite3 database with a table and a primary key consisting of two integers, and I\'m trying to insert lots of data into it (ie. around 1GB or so)
The issue
Are you doing the INSERT of each new as an individual Transaction?
INSERT
If you use BEGIN TRANSACTION and INSERT rows in batches then I think the index will only get rebuilt at the end of each Transaction.