gristlabs_grist-core/app
Alex Hall 77a5d31afe (core) More accurate data size measurement
Summary: As suggested by @dsagal in https://phab.getgrist.com/D3277#inline-36801, change to query `SUM(pgsize - unused)` instead of `SUM(pgsize)` to measure actual data size more accurately. Technically this doesn't reflect the database file size as accurately, but it should reflect sandbox memory usage better, and more importantly it should allow users to see data size decreasing when they delete stuff.

Test Plan: Tested manually by adding rows to a doc and looking at the logs. The data size is smaller and changes more granularly.

Reviewers: dsagal, paulfitz

Reviewed By: paulfitz

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3313
2022-03-09 12:04:16 +02:00
..
client (core) Serving widget info page from home url 2022-03-09 10:34:50 +01:00
common (core) Lossless imports 2022-03-08 12:14:39 +02:00
gen-server (core) be careful when reassigning a doc to a worker it was on before 2022-03-08 17:20:01 -05:00
plugin Correct spelling mistakes 2022-02-19 09:46:49 +00:00
server (core) More accurate data size measurement 2022-03-09 12:04:16 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00