ardb
ardb copied to clipboard
Wired compaction stat output
Ardb crashed once, unfortunately, don't have coredump turn on.
After that, I get something wired in info
command's compaction stat section:
Level Files Size(MB} Score Read(GB} Rn(GB} Rnp1(GB} Write(GB} Wnew(GB} Moved(GB} W-Amp Rd(MB/s} Wr(MB/s} Comp(sec} Comp(cnt} Avg(sec} KeyIn KeyDrop
----------------------------------------------------------------------------------------------------------------------------------------------------------
L0 0/0 0.00 0.0 0.0 0.0 0.0 0.6 0.6 0.0 0.0 0.0 48.8 13 9 1.411 0 0
L1 10/0 445.44 0.9 3.0 0.8 2.3 2.9 0.6 0.0 3.8 50.1 47.7 62 5 12.356 9483K 223K
L2 87/0 5043.46 1.0 6.7 0.6 6.0 6.1 0.1 0.0 9.5 18.1 16.7 376 10 37.648 88M 1672K
L3 43/0 2592.15 0.1 1.2 0.1 1.0 1.1 0.0 0.0 7.9 9.5 8.5 128 2 63.892 3315K 2871K
Sum 140/0 8081.05 0.0 10.9 1.5 9.3 10.7 1.3 0.0 17.7 19.2 18.9 579 26 22.260 100M 4768K
Int 0/0 0.00 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0.000 0 0
My total data size is 8GB in disk, with default setting max_bytes_for_level_base
is 512MB, max_bytes_for_level_multiplier
is 10, so my target size for every level should be L0:L1:L2 512MB: 5GB:50GB. But now I have data in L3 ?