summaryrefslogtreecommitdiff
path: root/tools/wtstats/stat_data.py
blob: a94ce524ae3cb8ad740f9cfd6a474d2d58fb5be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
# DO NOT EDIT: automatically built by dist/stat.py. */

no_scale_per_second_list = [
    'async: current work queue length',
    'async: maximum work queue length',
    'cache: bytes belonging to page images in the cache',
    'cache: bytes currently in the cache',
    'cache: bytes not belonging to page images in the cache',
    'cache: eviction currently operating in aggressive mode',
    'cache: eviction empty score',
    'cache: eviction state',
    'cache: files with active eviction walks',
    'cache: hazard pointer maximum array length',
    'cache: maximum bytes configured',
    'cache: maximum page size at eviction',
    'cache: overflow values cached in memory',
    'cache: pages currently held in the cache',
    'cache: percentage overhead',
    'cache: tracked bytes belonging to internal pages in the cache',
    'cache: tracked bytes belonging to leaf pages in the cache',
    'cache: tracked dirty bytes in the cache',
    'cache: tracked dirty pages in the cache',
    'connection: files currently open',
    'data-handle: connection data handles currently active',
    'log: log sync time duration (usecs)',
    'log: log sync_dir time duration (usecs)',
    'log: maximum log file size',
    'log: number of pre-allocated log files to create',
    'log: total log buffer size',
    'LSM: application work units currently queued',
    'LSM: merge work units currently queued',
    'LSM: switch work units currently queued',
    'reconciliation: split bytes currently awaiting free',
    'reconciliation: split objects currently awaiting free',
    'session: open cursor count',
    'session: open session count',
    'session: table alter failed calls',
    'session: table alter successful calls',
    'session: table alter unchanged and skipped',
    'session: table compact failed calls',
    'session: table compact successful calls',
    'session: table create failed calls',
    'session: table create successful calls',
    'session: table drop failed calls',
    'session: table drop successful calls',
    'session: table rebalance failed calls',
    'session: table rebalance successful calls',
    'session: table rename failed calls',
    'session: table rename successful calls',
    'session: table salvage failed calls',
    'session: table salvage successful calls',
    'session: table truncate failed calls',
    'session: table truncate successful calls',
    'session: table verify failed calls',
    'session: table verify successful calls',
    'thread-state: active filesystem fsync calls',
    'thread-state: active filesystem read calls',
    'thread-state: active filesystem write calls',
    'transaction: transaction checkpoint currently running',
    'transaction: transaction checkpoint generation',
    'transaction: transaction checkpoint max time (msecs)',
    'transaction: transaction checkpoint min time (msecs)',
    'transaction: transaction checkpoint most recent time (msecs)',
    'transaction: transaction checkpoint scrub dirty target',
    'transaction: transaction checkpoint scrub time (msecs)',
    'transaction: transaction checkpoint total time (msecs)',
    'transaction: transaction fsync duration for checkpoint after allocating the transaction ID (usecs)',
    'transaction: transaction range of IDs currently pinned',
    'transaction: transaction range of IDs currently pinned by a checkpoint',
    'transaction: transaction range of IDs currently pinned by named snapshots',
    'block-manager: checkpoint size',
    'block-manager: file allocation unit size',
    'block-manager: file bytes available for reuse',
    'block-manager: file magic number',
    'block-manager: file major version number',
    'block-manager: file size in bytes',
    'block-manager: minor version number',
    'btree: btree checkpoint generation',
    'btree: column-store fixed-size leaf pages',
    'btree: column-store internal pages',
    'btree: column-store variable-size deleted values',
    'btree: column-store variable-size leaf pages',
    'btree: column-store variable-size RLE encoded values',
    'btree: fixed-record size',
    'btree: maximum internal page key size',
    'btree: maximum internal page size',
    'btree: maximum leaf page key size',
    'btree: maximum leaf page size',
    'btree: maximum leaf page value size',
    'btree: maximum tree depth',
    'btree: number of key/value pairs',
    'btree: overflow pages',
    'btree: row-store internal pages',
    'btree: row-store leaf pages',
    'cache: bytes currently in the cache',
    'cache: overflow values cached in memory',
    'cache: tracked dirty bytes in the cache',
    'cache_walk: Average difference between current eviction generation when the page was last considered',
    'cache_walk: Average on-disk page image size seen',
    'cache_walk: Clean pages currently in cache',
    'cache_walk: Current eviction generation',
    'cache_walk: Dirty pages currently in cache',
    'cache_walk: Entries in the root page',
    'cache_walk: Internal pages currently in cache',
    'cache_walk: Leaf pages currently in cache',
    'cache_walk: Maximum difference between current eviction generation when the page was last considered',
    'cache_walk: Maximum page size seen',
    'cache_walk: Minimum on-disk page image size seen',
    'cache_walk: On-disk page image sizes smaller than a single allocation unit',
    'cache_walk: Pages created in memory and never written',
    'cache_walk: Pages currently queued for eviction',
    'cache_walk: Pages that could not be queued for eviction',
    'cache_walk: Refs skipped during cache traversal',
    'cache_walk: Size of the root page',
    'cache_walk: Total number of pages currently in cache',
    'LSM: bloom filters in the LSM tree',
    'LSM: chunks in the LSM tree',
    'LSM: highest merge generation in the LSM tree',
    'LSM: total size of bloom filters',
    'reconciliation: maximum blocks required for a page',
    'session: open cursor count',
]
no_clear_list = [
    'async: maximum work queue length',
    'cache: bytes belonging to page images in the cache',
    'cache: bytes currently in the cache',
    'cache: bytes not belonging to page images in the cache',
    'cache: eviction currently operating in aggressive mode',
    'cache: eviction empty score',
    'cache: eviction state',
    'cache: eviction worker thread active',
    'cache: eviction worker thread stable number',
    'cache: files with active eviction walks',
    'cache: maximum bytes configured',
    'cache: maximum page size at eviction',
    'cache: pages currently held in the cache',
    'cache: percentage overhead',
    'cache: tracked bytes belonging to internal pages in the cache',
    'cache: tracked bytes belonging to leaf pages in the cache',
    'cache: tracked dirty bytes in the cache',
    'cache: tracked dirty pages in the cache',
    'connection: files currently open',
    'data-handle: connection data handles currently active',
    'log: log sync time duration (usecs)',
    'log: log sync_dir time duration (usecs)',
    'log: maximum log file size',
    'log: number of pre-allocated log files to create',
    'log: total log buffer size',
    'LSM: application work units currently queued',
    'LSM: merge work units currently queued',
    'LSM: switch work units currently queued',
    'reconciliation: split bytes currently awaiting free',
    'reconciliation: split objects currently awaiting free',
    'session: open cursor count',
    'session: open session count',
    'session: table alter failed calls',
    'session: table alter successful calls',
    'session: table alter unchanged and skipped',
    'session: table compact failed calls',
    'session: table compact successful calls',
    'session: table create failed calls',
    'session: table create successful calls',
    'session: table drop failed calls',
    'session: table drop successful calls',
    'session: table rebalance failed calls',
    'session: table rebalance successful calls',
    'session: table rename failed calls',
    'session: table rename successful calls',
    'session: table salvage failed calls',
    'session: table salvage successful calls',
    'session: table truncate failed calls',
    'session: table truncate successful calls',
    'session: table verify failed calls',
    'session: table verify successful calls',
    'thread-state: active filesystem fsync calls',
    'thread-state: active filesystem read calls',
    'thread-state: active filesystem write calls',
    'transaction: transaction checkpoint currently running',
    'transaction: transaction checkpoint generation',
    'transaction: transaction checkpoint max time (msecs)',
    'transaction: transaction checkpoint min time (msecs)',
    'transaction: transaction checkpoint most recent time (msecs)',
    'transaction: transaction checkpoint scrub dirty target',
    'transaction: transaction checkpoint scrub time (msecs)',
    'transaction: transaction checkpoint total time (msecs)',
    'transaction: transaction fsync duration for checkpoint after allocating the transaction ID (usecs)',
    'transaction: transaction range of IDs currently pinned',
    'transaction: transaction range of IDs currently pinned by a checkpoint',
    'transaction: transaction range of IDs currently pinned by named snapshots',
    'btree: btree checkpoint generation',
    'cache: bytes currently in the cache',
    'cache: tracked dirty bytes in the cache',
    'cache_walk: Average difference between current eviction generation when the page was last considered',
    'cache_walk: Average on-disk page image size seen',
    'cache_walk: Clean pages currently in cache',
    'cache_walk: Current eviction generation',
    'cache_walk: Dirty pages currently in cache',
    'cache_walk: Entries in the root page',
    'cache_walk: Internal pages currently in cache',
    'cache_walk: Leaf pages currently in cache',
    'cache_walk: Maximum difference between current eviction generation when the page was last considered',
    'cache_walk: Maximum page size seen',
    'cache_walk: Minimum on-disk page image size seen',
    'cache_walk: On-disk page image sizes smaller than a single allocation unit',
    'cache_walk: Pages created in memory and never written',
    'cache_walk: Pages currently queued for eviction',
    'cache_walk: Pages that could not be queued for eviction',
    'cache_walk: Refs skipped during cache traversal',
    'cache_walk: Size of the root page',
    'cache_walk: Total number of pages currently in cache',
    'session: open cursor count',
]
prefix_list = [
    'data-handle',
    'reconciliation',
    'LSM',
    'log',
    'lock',
    'cache',
    'transaction',
    'cursor',
    'connection',
    'session',
    'block-manager',
    'thread-yield',
    'cache_walk',
    'async',
    'btree',
    'thread-state',
    'compression',
]
groups = {'cursor': ['cursor', 'session'], 'lsm': ['LSM', 'transaction'], 'system': ['connection', 'data-handle', 'session', 'thread-state'], 'evict': ['block-manager', 'cache', 'cache_walk', 'connection', 'thread-state'], 'memory': ['cache', 'cache_walk', 'connection', 'reconciliation']}