gristlabs_grist-core/app
Alex Hall f1002c0e67 (core) Regularly log data size in DocStorage.applyStoredActions using sqlite dbstat
Summary:
- Small cleanup: Make DocStorage implement OnDemandStorage, and remove unused execWithBackup
- Upgrade to new versions (.3) of @gristlabs/sqlite3 and connect-sqlite3 to use dbstat
- Add _logDataSize method which queries dbstat, adding up pgsize for tables loaded into the data engine
- Only complete _logDataSize every 5 minutes using new field _lastLoggedDataSize

Test Plan: Tested manually

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3277
2022-02-22 00:59:04 +02:00
..
client (core) Guess date format during type conversion 2022-02-21 22:39:47 +02:00
common (core) Guess date format during type conversion 2022-02-21 22:39:47 +02:00
gen-server (core) Add account page option to allow Google login 2022-02-14 16:56:23 -08:00
plugin Correct spelling mistakes 2022-02-19 09:46:49 +00:00
server (core) Regularly log data size in DocStorage.applyStoredActions using sqlite dbstat 2022-02-22 00:59:04 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00