commit | 2e2f01e4804fc245023b270d41aa017ae22b533c | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Fri Apr 27 17:41:49 2018 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Mon Apr 30 22:45:42 2018 +0000 |
tree | 88b2b0355b7c9b9f06e8a54d612ec23351eddf0b | |
parent | 1072d0d18a8701e5fac0d7e545aed7a620f706b3 [diff] |
Use NORMAL synchronous mode for WAL journal mode When synchronous is NORMAL (1), the SQLite database engine will still sync at the most critical moments, but less often than in FULL mode. With this change, the number of writes is reduced by 50%, more than 5x improvement in write performance, read performance is the same. Test: Manual + SQLiteDatabaseTest Bug: 76033286 Change-Id: I13526962bbaeae028a9c6cb668aa9f94bbc2a44d