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

     1  define
     2  L3
     3    010001:a.SET.1111-f.SET.1112 size=10
     4    010002:g.SET.1111-l.SET.1112 size=10
     5  L4
     6    001001:a.SET.111-f.SET.112 size=100
     7    001002:g.SET.111-l.SET.112 size=100
     8  L5
     9    000101:a.SET.11-f.SET.12 size=1000
    10    000102:g.SET.11-l.SET.12 size=1000
    11  L6
    12    000010:a.SET.1-f.SET.2 size=128000000
    13    000011:g.SET.1-l.SET.2 size=128000000 range-deletions-bytes-estimate=28000000
    14  ----
    15  3:
    16    010001:[a#1111,SET-f#1112,SET]
    17    010002:[g#1111,SET-l#1112,SET]
    18  4:
    19    001001:[a#111,SET-f#112,SET]
    20    001002:[g#111,SET-l#112,SET]
    21  5:
    22    000101:[a#11,SET-f#12,SET]
    23    000102:[g#11,SET-l#12,SET]
    24  6:
    25    000010:[a#1,SET-f#2,SET]
    26    000011:[g#1,SET-l#2,SET]
    27  
    28  # Max output file size should be 32MiB because Lbase is L3.
    29  pick-auto
    30  ----
    31  L6 -> L6
    32  L6: 000011
    33  maxOutputFileSize: 33554432
    34  
    35  define
    36  L5
    37    000101:a.SET.11-f.SET.12 size=1000
    38    000102:g.SET.11-l.SET.12 size=1000
    39  L6
    40    000010:a.SET.1-f.SET.2 size=128000000
    41    000011:g.SET.1-l.SET.2 size=128000000 range-deletions-bytes-estimate=28000000
    42  ----
    43  5:
    44    000101:[a#11,SET-f#12,SET]
    45    000102:[g#11,SET-l#12,SET]
    46  6:
    47    000010:[a#1,SET-f#2,SET]
    48    000011:[g#1,SET-l#2,SET]
    49  
    50  # Max output file size should be 8MiB because Lbase is L5.
    51  pick-auto
    52  ----
    53  L6 -> L6
    54  L6: 000011
    55  maxOutputFileSize: 8388608