I recently read about SQLite and thought I'd give it a try. When I insert one record, it works fine. But when I insert a hundred, it takes five seconds, and as the number of records increases, time also happens. What could be wrong? I am using SQLite Wrapper (system.data.SQlite) :
dbcon = new SQLiteConnection(connectionString); dbcon.Open(); //---INSIDE LOOP SQLiteCommand sqlComm = new SQLiteCommand(sqlQuery, dbcon); nRowUpdatedCount = sqlComm.ExecuteNonQuery(); //---END LOOP dbcon.close();
c # sqlite sqlite3 system.data.sqlite
Verve Innovation 03 Oct '10 at 23:59 2010-10-03 23:59
source share