table size reduction disproportionate after row deletions #137914
Labels
A-storage
Relating to our storage engine (Pebble) on-disk storage.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
T-storage
Storage Team
X-blathers-triaged
blathers was able to find an owner
I recently deleted a significant number of rows from a table (approximately 24x fewer rows), but the size of the table on disk only decreased by about 9x. This disparity seems unusual, and I’m wondering if there’s something about internal storage or garbage collection I might be missing.
I already tried making the GC run more frequently by running these commands:
ALTER RANGE default CONFIGURE ZONE USING gc.ttlseconds=600; ALTER DATABASE system CONFIGURE ZONE USING gc.ttlseconds=600;
Is there a known reason why the size reduction isn’t proportional to the row reduction?
Environment:
Jira issue: CRDB-45808
The text was updated successfully, but these errors were encountered: