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
..
2021-03-19 18:20:33 -04:00
2021-09-29 11:27:02 -04:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-03-01 22:00:45 +02:00
2022-03-08 12:14:39 +02:00
2022-03-05 13:30:45 -05:00
2022-02-22 12:50:43 -05:00
2022-02-22 12:50:43 -05:00
2020-07-21 20:39:10 -04:00
2022-02-22 12:50:43 -05:00
2021-08-26 13:36:49 -07:00
2020-07-21 20:39:10 -04:00
2021-10-01 11:24:22 -04:00
2022-02-12 09:44:34 +02:00
2022-02-12 09:44:34 +02:00
2022-02-12 09:44:34 +02:00
2021-10-25 10:25:18 -04:00
2022-03-08 17:20:01 -05:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2022-02-22 12:50:43 -05:00
2022-03-08 17:20:01 -05:00
2022-03-09 12:04:16 +02:00
2021-04-29 08:56:54 -04:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2021-11-30 17:26:32 +01:00
2022-02-19 09:46:49 +00:00
2022-02-08 17:41:04 +01: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
2021-11-30 17:26:32 +01:00
2022-02-14 10:32:47 -08:00
2022-02-19 09:46:49 +00:00
2022-02-14 10:32:47 -08:00
2020-07-21 20:39:10 -04:00
2021-04-29 08:56:54 -04:00
2022-03-09 10:34:50 +01:00
2021-11-30 17:26:32 +01:00
2021-07-28 09:02:32 -04:00
2021-10-01 10:47:12 +02:00
2022-02-22 12:50:43 -05:00
2022-03-07 09:11:28 -08:00
2021-10-01 11:24:22 -04:00
2020-07-21 20:39:10 -04:00
2020-09-18 16:31:29 -04:00
2022-02-19 09:46:49 +00:00
2022-03-08 17:20:01 -05:00
2020-07-21 20:39:10 -04:00
2020-10-30 13:52:46 -04:00
2021-08-17 21:44:50 -04:00
2021-04-29 08:56:54 -04:00
2021-01-12 14:08:49 -05:00
2020-07-23 11:29:05 -04:00
2022-02-01 21:19:30 +02:00
2021-09-29 12:08:23 -04:00
2022-02-04 20:28:13 +02:00
2020-07-21 20:39:10 -04:00
2022-03-08 17:20:01 -05:00
2022-03-08 17:20:01 -05:00
2020-10-28 13:59:13 -04:00
2021-10-25 10:25:18 -04:00
2020-07-21 20:39:10 -04:00
2022-03-05 13:30:45 -05:00
2022-02-19 09:46:49 +00:00
2021-12-07 17:09:58 +02:00
2021-07-15 15:18:32 -07:00
2021-08-16 17:36:09 -04:00
2020-07-22 14:45:42 -04:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2021-08-20 11:28:33 -04:00
2022-03-07 09:11:28 -08:00
2021-05-24 12:56:18 -04:00
2021-08-09 18:37:14 +02:00
2022-02-20 02:39:30 -08:00
2021-11-10 10:46:12 -05:00
2020-07-21 20:39:10 -04:00
2022-01-20 15:50:35 -05:00
2021-11-03 15:31:39 +01:00
2021-08-26 13:36:49 -07:00
2021-11-05 10:51:18 -04:00
2022-03-05 13:30:45 -05: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
2021-10-01 10:18:56 -04:00
2020-07-21 20:39:10 -04:00
2022-03-08 17:20:01 -05:00
2021-12-10 18:33:07 -05:00
2021-11-04 17:23:43 -04:00
2020-07-21 20:39:10 -04:00
2021-12-07 17:09:58 +02:00
2020-07-21 20:39:10 -04:00
2022-03-05 13:30:45 -05:00
2022-01-13 11:10:17 +01:00
2020-07-21 20:39:10 -04:00