github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/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.no-compression.two_level_index.sst
    48  ----
    49  h.no-compression.two_level_index.sst
    50  size                    
    51    file                  28KB
    52    data                  26KB
    53      blocks              14
    54    index                 408B
    55      blocks              4
    56      top-level           70B
    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             NoCompression
    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            [KeyCountPropertyCollector]
    85    test.key-count        1727
    86  
    87  sstable properties
    88  -v
    89  ../sstable/testdata/h.no-compression.two_level_index.sst
    90  ----
    91  h.no-compression.two_level_index.sst
    92  rocksdb.num.entries: 1727
    93  rocksdb.raw.key.size: 23938
    94  rocksdb.raw.value.size: 1912
    95  rocksdb.deleted.keys: 17
    96  rocksdb.num.range-deletions: 17
    97  rocksdb.comparator: leveldb.BytewiseComparator
    98  rocksdb.compression: NoCompression
    99  rocksdb.compression_options: window_bits=-14; level=32767; strategy=0; max_dict_bytes=0; zstd_max_train_bytes=0; enabled=0; 
   100  rocksdb.data.size: 26799
   101  rocksdb.external_sst_file.version: 2
   102  rocksdb.filter.size: 0
   103  rocksdb.external_sst_file.global_seqno: 0
   104  rocksdb.index.partitions: 3
   105  rocksdb.index.size: 408
   106  rocksdb.block.based.table.index.type: 2
   107  rocksdb.merge.operator: nullptr
   108  rocksdb.num.data.blocks: 14
   109  rocksdb.merge.operands: 0
   110  rocksdb.prefix.extractor.name: nullptr
   111  rocksdb.block.based.table.prefix.filtering: false
   112  rocksdb.property.collectors: [KeyCountPropertyCollector]
   113  rocksdb.top-level.index.size: 70
   114  rocksdb.block.based.table.whole.key.filtering: false
   115  test.key-count: 1727
   116  
   117  # Test for properties in SSTs made by the db itself. Should not contain
   118  # rocksdb.external_sst_file.* . See
   119  # https://github.com/cockroachdb/pebble/issues/532
   120  sstable properties
   121  -v
   122  testdata/find-db/archive/000011.sst
   123  ----
   124  open testdata/find-db/archive/000011.sst: file does not exist
   125  
   126  sstable properties
   127  testdata/bad-magic.sst
   128  ----
   129  bad-magic.sst
   130  pebble/table: invalid table (bad magic number: 0xf6cff485b741e288)
   131  
   132  sstable properties
   133  testdata/mixed/000005.sst
   134  ----
   135  000005.sst
   136  size                    
   137    file                  1.0KB
   138    data                  236B
   139      blocks              1
   140    index                 28B
   141      blocks              1
   142      top-level           0B
   143    filter                0B
   144    raw-key               286B
   145    raw-value             0B
   146    pinned-key            0
   147    pinned-val            0
   148    point-del-key-size    0
   149    point-del-value-size  0
   150  records                 26
   151    set                   26
   152    delete                0
   153    delete-sized          0
   154    range-delete          0
   155    range-key-set         1
   156    range-key-unset       1
   157    range-key-delete      1
   158    merge                 0
   159    global-seq-num        0
   160    pinned                0
   161  index                   
   162    key                     value  comparer  pebble.internal.testkeys
   163  merger                  pebble.concatenate
   164  filter                  -
   165    prefix                false
   166    whole-key             false
   167  compression             Snappy
   168    options               window_bits=-14; level=32767; strategy=0; max_dict_bytes=0; zstd_max_train_bytes=0; enabled=0; 
   169  user properties         
   170    collectors            [obsolete-key]
   171    obsolete-key