Skip to content

Instantly share code, notes, and snippets.

@eevans
Created June 29, 2017 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eevans/efdc54f4c52f821428fbc695f1553311 to your computer and use it in GitHub Desktop.
Save eevans/efdc54f4c52f821428fbc695f1553311 to your computer and use it in GitHub Desktop.
for i in `ls *-Data.db`; do echo "$i"; sstablemetadata $i 2>/dev/null |grep -E "(droppable|Level)" | sed "s/^/ /g"; done
mc-10221-big-Data.db
Estimated droppable tombstones: 2.8305955262705123
SSTable Level: 0
mc-9643-big-Data.db
Estimated droppable tombstones: 0.20896574750053237
SSTable Level: 1
mc-9648-big-Data.db
Estimated droppable tombstones: 0.20922907297107188
SSTable Level: 1
mc-9655-big-Data.db
Estimated droppable tombstones: 0.2099035658102414
SSTable Level: 1
mc-9661-big-Data.db
Estimated droppable tombstones: 0.20989678313043614
SSTable Level: 1
mc-9670-big-Data.db
Estimated droppable tombstones: 0.2088792007410243
SSTable Level: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment