1
1
# Generate sstables with sequential, non-overlapping keys. When we trigger a compaction
2
2
# from L0 to Lbase, we expect all the compactions to be moves, since there are no
3
3
# overlapping keys being written.
4
- define l0-compaction-threshold=1 auto-compactions=off
4
+ define l0-compaction-threshold=1 auto-compactions=off target-file-sizes=65536
5
5
----
6
6
7
7
@@ -10,59 +10,61 @@ set-concurrent-compactions range=(3,3)
10
10
concurrency set to [3, 3]
11
11
12
12
13
- populate keylen=4 timestamps=(1) vallen=1
13
+ populate keylen=3 timestamps=(1) vallen=1
14
14
----
15
- wrote 475254 keys
15
+ wrote 18278 keys
16
16
17
17
18
18
flush
19
19
----
20
20
L0.0:
21
- 000005:[a@1#10,SET-itbq@1#159645,SET]
22
- 000006:[itbr@1#159646,SET-rmbh@1#319226,SET]
23
- 000007:[rmbi@1#319227,SET-zzzz@1#475263,SET]
21
+ 000006:[a@1#10,SET-hci@1#4995,SET]
22
+ 000007:[hcj@1#4996,SET-oex@1#9985,SET]
23
+ 000008:[oey@1#9986,SET-vhm@1#14976,SET]
24
+ 000009:[vhn@1#14977,SET-zzz@1#18287,SET]
24
25
25
26
26
27
auto-compact count=3
27
28
----
28
29
L6:
29
- 000005:[a@1#10,SET-itbq@1#159645,SET]
30
- 000006:[itbr@1#159646,SET-rmbh@1#319226,SET]
31
- 000007:[rmbi@1#319227,SET-zzzz@1#475263,SET]
30
+ 000006:[a@1#10,SET-hci@1#4995,SET]
31
+ 000007:[hcj@1#4996,SET-oex@1#9985,SET]
32
+ 000008:[oey@1#9986,SET-vhm@1#14976,SET]
33
+ 000009:[vhn@1#14977,SET-zzz@1#18287,SET]
32
34
33
35
metrics
34
36
----
35
37
----
36
38
LSM | vtables | value sep | | ingested | amp
37
39
level size | tables size | count size | refsz valblk | in | tables size | r w
38
40
-----------------+--------------+--------------+---------------+--------+--------------+----------
39
- L0 0B | 0 0B | 0 0 | 0B 0B | 4.5MB | 0 0B | 0 1.32
40
- L6 6MB | 3 6MB | 0 0 | 0B 0B | 0B | 0 0B | 1 0
41
+ L0 0B | 0 0B | 0 0 | 0B 0B | 160KB | 0 0B | 0 1.47
42
+ L6 236KB | 4 236KB | 0 0 | 0B 0B | 0B | 0 0B | 1 0
41
43
-----------------+--------------+--------------+---------------+--------+--------------+----------
42
- total 6MB | 3 6MB | 0 0 | 0B 0B | 4.5MB | 0 0B | 1 2.32
44
+ total 236KB | 4 236KB | 0 0 | 0B 0B | 160KB | 0 0B | 1 2.47
43
45
44
46
COMPACTIONS | moved | multilevel | read | written
45
47
level | score ff cff | tables size | top in read | tables blob | tables sstsz blobsz
46
48
------+-------------------+--------------+-------------------+--------------+---------------------
47
- L0 | - 0 0 | 0 0B | 0B 0B 0B | 0B 0B | 3 6MB 0B
48
- L6 | - 0.09 0.09 | 3 6MB | 0B 0B 0B | 0B 0B | 0 0B 0B
49
+ L0 | - 0 0 | 0 0B | 0B 0B 0B | 0B 0B | 4 236KB 0B
50
+ L6 | - 0.00 0.00 | 4 236KB | 0B 0B 0B | 0B 0B | 0 0B 0B
49
51
------+-------------------+--------------+-------------------+--------------+---------------------
50
- total | - - - | 3 6MB | 0B 0B 0B | 0B 0B | 3 10MB 0B
52
+ total | - - - | 4 236KB | 0B 0B 0B | 0B 0B | 4 396KB 0B
51
53
52
54
kind | default delete elision move read tomb rewrite copy multi blob virtual
53
- count | 0 0 0 3 0 0 0 0 0 0 0
55
+ count | 0 0 0 4 0 0 0 0 0 0 0
54
56
55
57
COMMIT PIPELINE
56
58
wals | memtables | ingestions
57
59
files | written | overhead | flushes | live | zombie | total | flushable
58
60
----------+--------------+-----------+-----------+------------+------------+-----------+------------
59
- 1 (0B) | 4.5MB: 4.5MB | 0.0% | 2 | 1 (512KB) | 1 (512KB) | 9.5 M | 0 (0B)
61
+ 1 (0B) | 160KB: 160KB | 0.0% | 1 | 1 (512KB) | 1 (512KB) | 328 K | 0 (0B)
60
62
61
63
ITERATORS
62
64
block cache | file cache | filter | sst iters | snapshots
63
65
entries | hit rate | entries | hit rate | util | open | open
64
66
-------------+-------------+--------------+-------------+--------------+-------------+------------
65
- 1.5K (6.4MB ) | 60 .0% | 3 (840B ) | 90.0% | 0.0% | 0 | 0
67
+ 63 (251KB ) | 78 .0% | 4 (1.1KB ) | 90.0% | 0.0% | 0 | 0
66
68
67
69
FILES tables | blob files | blob values
68
70
stats prog | backing | zombie | live | zombie | total | refed
87
89
COMPRESSION
88
90
algorithm | tables | blob files
89
91
--------------+---------------+--------------
90
- none | 5.9MB |
92
+ none | 234KB |
91
93
----
92
94
----
0 commit comments