Files
gristlabs_grist-core/app/server/lib
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
..
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2021-12-07 17:09:58 +02:00
2021-12-07 17:09:58 +02:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2020-07-21 20:39:10 -04:00
2021-12-07 17:09:58 +02:00
2022-01-13 11:10:17 +01:00