Skip to content
Commit 2e2f01e4 authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

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
parent 1072d0d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment