diff options
author | Gabriel Burt <gabriel.burt@gmail.com> | 2010-04-28 10:27:36 -0700 |
---|---|---|
committer | Gabriel Burt <gabriel.burt@gmail.com> | 2010-04-28 10:27:36 -0700 |
commit | 95fc8a95f306f3e02ca6d989d0982dabeb2d85fc (patch) | |
tree | 4b96b0572bda69fbd3085b848aa616546181140d /extras | |
parent | 7d13b354abaa423287b5985ee4db7a80cbba60fe (diff) |
[extras/metrics] Try to speed up the db
Diffstat (limited to 'extras')
-rw-r--r-- | extras/metrics/Database.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/metrics/Database.cs b/extras/metrics/Database.cs index c0758d5cc..ae2d6649d 100644 --- a/extras/metrics/Database.cs +++ b/extras/metrics/Database.cs @@ -58,6 +58,7 @@ namespace metrics Execute ("PRAGMA synchronous = OFF"); Execute ("PRAGMA temp_store = MEMORY"); Execute ("PRAGMA count_changes = OFF"); + Execute ("PRAGMA journal_mode = TRUNCATE"); Config = new SqliteModelProvider<Config> (this, "Config", true); SampleProvider = new SqliteModelProvider<MultiUserSample> (this, "Samples", true); |