Skip to content

Instantly share code, notes, and snippets.

@denesb
Last active August 24, 2022 03:37
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 denesb/edc5e226c1f02588523f64b52fae42cb to your computer and use it in GitHub Desktop.
Save denesb/edc5e226c1f02588523f64b52fae42cb to your computer and use it in GitHub Desktop.
scylla-sstable json output example
$ ./build/release/scylla sstable dump-summary /var/lib/scylla/data/system_schema/keyspaces-abac5682dea631c5b535b3d6cffd0fb6/me-6-big-Summary.db |jq
{
"sstables": {
"/var/lib/scylla/data/system_schema/keyspaces-abac5682dea631c5b535b3d6cffd0fb6//me-6-big-Data.db": {
"header": {
"min_index_interval": 128,
"size": 1,
"memory_size": 23,
"sampling_level": 128,
"size_at_full_sampling": 0
},
"positions": [
4
],
"entries": [
{
"key": {
"token": "-5882736283116946676",
"raw": "000b73797374656d5f61757468",
"value": "system_auth"
},
"position": 0
}
],
"first_key": {
"raw": "000b73797374656d5f61757468",
"value": "system_auth"
},
"last_key": {
"raw": "001d73797374656d5f64697374726962757465645f65766572797768657265",
"value": "system_distributed_everywhere"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment