github.com/cockroachdb/pebble@v1.1.2/tool/testdata/sstable_properties (about)

     1  sstable properties
     2  ----
     3  requires at least 1 arg(s), only received 0
     4  
     5  sstable properties
     6  ../sstable/testdata/h.sst
     7  ----
     8  h.sst
     9  size                    
    10    file                  15KB
    11    data                  14KB
    12      blocks              14
    13    index                 325B
    14      blocks              1
    15      top-level           0B
    16    filter                0B
    17    raw-key               23KB
    18    raw-value             1.9KB
    19    pinned-key            0
    20    pinned-val            0
    21    point-del-key-size    0
    22    point-del-value-size  0
    23  records                 1727
    24    set                   1710
    25    delete                0
    26    delete-sized          0
    27    range-delete          17
    28    range-key-set         0
    29    range-key-unset       0
    30    range-key-delete      0
    31    merge                 0
    32    global-seq-num        0
    33    pinned                0
    34  index                   
    35    key                     value  comparer  leveldb.BytewiseComparator
    36  merger                  -
    37  filter                  -
    38    prefix                false
    39    whole-key             false
    40  compression             Snappy
    41    options               window_bits=-14; level=32767; strategy=0; max_dict_bytes=0; zstd_max_train_bytes=0; enabled=0; 
    42  user properties         
    43    collectors            [KeyCountPropertyCollector]
    44    test.key-count        1727
    45  
    46  sstable properties
    47  ../sstable/testdata/h.ldb
    48  ----
    49  h.ldb
    50  size                    
    51    file                  15KB
    52    data                  14KB
    53      blocks              14
    54    index                 325B
    55      blocks              1
    56      top-level           0B
    57    filter                0B
    58    raw-key               23KB
    59    raw-value             1.9KB
    60    pinned-key            0
    61    pinned-val            0
    62    point-del-key-size    0
    63    point-del-value-size  0
    64  records                 1727
    65    set                   1710
    66    delete                0
    67    delete-sized          0
    68    range-delete          17
    69    range-key-set         0
    70    range-key-unset       0
    71    range-key-delete      0
    72    merge                 0
    73    global-seq-num        0
    74    pinned                0
    75  index                   
    76    key                     value  comparer  leveldb.BytewiseComparator
    77  merger                  -
    78  filter                  -
    79    prefix                false
    80    whole-key             false
    81  compression             Snappy
    82    options               window_bits=-14; level=32767; strategy=0; max_dict_bytes=0; zstd_max_train_bytes=0; enabled=0; 
    83  user properties         
    84    collectors            []
    85  
    86  sstable properties
    87  ../sstable/testdata/h.no-compression.two_level_index.sst
    88  ----
    89  h.no-compression.two_level_index.sst
    90  size                    
    91    file                  28KB
    92    data                  26KB
    93      blocks              14
    94    index                 408B
    95      blocks              4
    96      top-level           70B
    97    filter                0B
    98    raw-key               23KB
    99    raw-value             1.9KB
   100    pinned-key            0
   101    pinned-val            0
   102    point-del-key-size    0
   103    point-del-value-size  0
   104  records                 1727
   105    set                   1710
   106    delete                0
   107    delete-sized          0
   108    range-delete          17
   109    range-key-set         0
   110    range-key-unset       0
   111    range-key-delete      0
   112    merge                 0
   113    global-seq-num        0
   114    pinned                0
   115  index                   
   116    key                     value  comparer  leveldb.BytewiseComparator
   117  merger                  -
   118  filter                  -
   119    prefix                false
   120    whole-key             false
   121  compression             NoCompression
   122    options               window_bits=-14; level=32767; strategy=0; max_dict_bytes=0; zstd_max_train_bytes=0; enabled=0; 
   123  user properties         
   124    collectors            [KeyCountPropertyCollector]
   125    test.key-count        1727
   126  
   127  sstable properties
   128  -v
   129  ../sstable/testdata/h.no-compression.two_level_index.sst
   130  ----
   131  h.no-compression.two_level_index.sst
   132  rocksdb.num.entries: 1727
   133  rocksdb.raw.key.size: 23938
   134  rocksdb.raw.value.size: 1912
   135  rocksdb.deleted.keys: 17
   136  rocksdb.num.range-deletions: 17
   137  rocksdb.comparator: leveldb.BytewiseComparator
   138  rocksdb.compression: NoCompression
   139  rocksdb.compression_options: window_bits=-14; level=32767; strategy=0; max_dict_bytes=0; zstd_max_train_bytes=0; enabled=0; 
   140  rocksdb.data.size: 26799
   141  rocksdb.external_sst_file.version: 2
   142  rocksdb.filter.size: 0
   143  rocksdb.external_sst_file.global_seqno: 0
   144  rocksdb.index.partitions: 3
   145  rocksdb.index.size: 408
   146  rocksdb.block.based.table.index.type: 2
   147  rocksdb.merge.operator: nullptr
   148  rocksdb.num.data.blocks: 14
   149  rocksdb.merge.operands: 0
   150  rocksdb.prefix.extractor.name: nullptr
   151  rocksdb.block.based.table.prefix.filtering: false
   152  rocksdb.property.collectors: [KeyCountPropertyCollector]
   153  rocksdb.top-level.index.size: 70
   154  rocksdb.block.based.table.whole.key.filtering: false
   155  test.key-count: 1727
   156  
   157  # Test for properties in SSTs made by the db itself. Should not contain
   158  # rocksdb.external_sst_file.* . See
   159  # https://github.com/cockroachdb/pebble/issues/532
   160  sstable properties
   161  -v
   162  testdata/find-db/archive/000011.sst
   163  ----
   164  000011.sst
   165  rocksdb.num.entries: 8
   166  rocksdb.raw.key.size: 88
   167  rocksdb.raw.value.size: 13
   168  rocksdb.deleted.keys: 2
   169  rocksdb.num.range-deletions: 1
   170  rocksdb.comparator: alt-comparer
   171  rocksdb.compression: Snappy
   172  rocksdb.compression_options: window_bits=-14; level=32767; strategy=0; max_dict_bytes=0; zstd_max_train_bytes=0; enabled=0; 
   173  rocksdb.data.size: 90
   174  rocksdb.filter.size: 0
   175  rocksdb.index.size: 27
   176  rocksdb.block.based.table.index.type: 0
   177  rocksdb.merge.operator: test-merger
   178  rocksdb.num.data.blocks: 1
   179  rocksdb.merge.operands: 1
   180  rocksdb.prefix.extractor.name: nullptr
   181  rocksdb.block.based.table.prefix.filtering: false
   182  rocksdb.property.collectors: []
   183  rocksdb.block.based.table.whole.key.filtering: false
   184  
   185  sstable properties
   186  testdata/bad-magic.sst
   187  ----
   188  bad-magic.sst
   189  pebble/table: invalid table (bad magic number: 0xf6cff485b741e288)
   190  
   191  sstable properties
   192  testdata/mixed/000005.sst
   193  ----
   194  000005.sst
   195  size                    
   196    file                  1.1KB
   197    data                  236B
   198      blocks              1
   199    index                 29B
   200      blocks              1
   201      top-level           0B
   202    filter                0B
   203    raw-key               286B
   204    raw-value             0B
   205    pinned-key            0
   206    pinned-val            0
   207    point-del-key-size    0
   208    point-del-value-size  0
   209  records                 26
   210    set                   26
   211    delete                0
   212    delete-sized          0
   213    range-delete          0
   214    range-key-set         1
   215    range-key-unset       1
   216    range-key-delete      1
   217    merge                 0
   218    global-seq-num        0
   219    pinned                0
   220  index                   
   221    key                     value  comparer  pebble.internal.testkeys
   222  merger                  pebble.concatenate
   223  filter                  -
   224    prefix                false
   225    whole-key             false
   226  compression             Snappy
   227    options               window_bits=-14; level=32767; strategy=0; max_dict_bytes=0; zstd_max_train_bytes=0; enabled=0; 
   228  user properties         
   229    collectors            []