moonfire-nvr/server/db/upgrade
Scott Lamb ff1615a0b4 address database upgrade slowness (#107)
* give a rule of thumb for update time in the documentation
* log the SQLite3 version, which can affect performance
* do the vacuum in non-WAL mode, to correctly set the page size and to
  avoid very slow behavior on older SQLite3 versions. Larger page sizes
  are generally faster (including subsequent vacuum operations).
  This won't help much for the first vacuum after this change, but it
  will help afterward.
* likewise, set the page size properly on "moonfire-nvr init".
2021-02-10 22:28:40 -08:00
..
mod.rs address database upgrade slowness (#107) 2021-02-10 22:28:40 -08:00
v0_to_v1.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v0.sql restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v1_to_v2.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v1.sql restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v2_to_v3.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v3_to_v4.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v3.sql restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v4_to_v5.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v5_to_v6.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
v5.sql restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00