Description[sql] Increase database chunk size for large databases.
SQLite implements a hint to request the databases be truncated or
expanded to multiples of a chunk size. This was originally implemented
to reduce filesystem fragmentation, and it also can improve performance
because file sizes don't vary as much.
For a memory-mapped database, it also reduces the number of calls to
adjust the memory map when the database size changes.
BUG=551108
Committed: https://crrev.com/5dac334f21d99d9f97d9c7bbfbba40c8e872545b
Cr-Commit-Position: refs/heads/master@{#358121}
Patch Set 1 #Patch Set 2 : rebase #Messages
Total messages: 18 (7 generated)
|