forked from cockroachdb/pebble
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db: compute table properties for snapshot-pinned keys
Add three new built-in sstable properties that hold the count, cumulative raw size of keys and cumulative raw size of values that would've been elided were it not for open snapshots. For now these properties only include point keys and not range deletions or range keys. Also, add two new fields to pebble.Metrics: monotonically increasing cumulative totals of the count and sum of keys written to sstables due to snapshots.
- Loading branch information
Showing
26 changed files
with
557 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.