github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/tool/testdata/db_space (about)

     1  db space
     2  ----
     3  accepts 1 arg(s), received 0
     4  
     5  # covers the whole 4.sst
     6  
     7  db space --start=a --end=z
     8  ../testdata/db-stage-4
     9  ----
    10  986
    11  
    12  # covers from left of 4.sst to its only data block
    13  
    14  db space --start=a --end=bar
    15  ../testdata/db-stage-4
    16  ----
    17  62
    18  
    19  # covers from 4.sst's only data block to its right
    20  
    21  db space --start=foo --end=z
    22  ../testdata/db-stage-4
    23  ----
    24  62
    25  
    26  # covers non-overlapping range to left of 4.sst
    27  
    28  db space --start=a --end=a
    29  ../testdata/db-stage-4
    30  ----
    31  0
    32  
    33  # covers non-overlapping range to right of 4.sst
    34  
    35  db space --start=z --end=z
    36  ../testdata/db-stage-4
    37  ----
    38  0