Following the instructions of Sqlite's PRAGMA I found that PRAGMA schema.journal_mode;
changes the journal_mode and given the options I chose off
to increase performance of insert function. I wrote:
SQLiteConnection m_dbConnection = new SQLiteConnection("Data Source=MyDatabase.sqlite;Version=3;PRAGMA Schema.journal_mode=off;");
which opens a database called MyDatabase.sqlite
and the command
PRAGMA Schema.journal_mode=off;
which is written in the end, I believe turns off the journaling of the sqlite database, but I don't have a clue on how to do it and if this is the proper way then what am I doing wrong because I see no change in performance after adding the PRAGMA command.
I downloaded the Sqlite Library from a link referred in Tigran's Blog Post on Sqlite