Keep startup database rebuilds out of memory
This commit is contained in:
@@ -93,6 +93,9 @@ available longer. Previously saved retention choices are preserved on upgrade.
|
||||
The database upgrade normalizes retention clocks to UTC and enables incremental
|
||||
vacuum. An existing database without a vacuum page map is rebuilt once at startup;
|
||||
allow time for this rebuild and free disk space up to twice the database size.
|
||||
The rebuild uses disk-backed temporary storage and a 16 MiB page cache instead
|
||||
of holding a temporary copy of the database in RAM. Container scratch files use
|
||||
`/data/.sqlite-tmp`; `[database]` startup logs identify the current migration.
|
||||
Normal cleanup releases unused file blobs in bounded batches and incrementally
|
||||
returns free pages to disk after larger prunes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user