summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/tools/wtstats/stat_data.py
blob: 1eb60c9d5136d3983bb8b7586a692e5d05c098bd (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
# 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 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 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',
    '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 state',
    '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 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',
    'session: open cursor count',
]
prefix_list = [
    'data-handle',
    'reconciliation',
    'LSM',
    'log',
    'cache',
    'transaction',
    'cursor',
    'connection',
    'session',
    'block-manager',
    'thread-yield',
    'async',
    'btree',
    'thread-state',
    'compression',
]
groups = {'cursor': ['cursor', 'session'], 'lsm': ['LSM', 'transaction'], 'system': ['connection', 'data-handle', 'session', 'thread-state'], 'evict': ['block-manager', 'cache', 'connection', 'thread-state'], 'memory': ['cache', 'connection', 'reconciliation']}