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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
/// This file is generated from generate.py.
/// Re-generate it if you upgrade to a new version of RocksDB.

#[derive(Copy, Clone, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum DBStatisticsTickerType {
    BlockCacheMiss = 0,
    BlockCacheHit = 1,
    BlockCacheAdd = 2,
    BlockCacheAddFailures = 3,
    BlockCacheIndexMiss = 4,
    BlockCacheIndexHit = 5,
    BlockCacheIndexAdd = 6,
    BlockCacheIndexBytesInsert = 7,
    BlockCacheIndexBytesEvict = 8,
    BlockCacheFilterMiss = 9,
    BlockCacheFilterHit = 10,
    BlockCacheFilterAdd = 11,
    BlockCacheFilterBytesInsert = 12,
    BlockCacheFilterBytesEvict = 13,
    BlockCacheDataMiss = 14,
    BlockCacheDataHit = 15,
    BlockCacheDataAdd = 16,
    BlockCacheDataBytesInsert = 17,
    BlockCacheBytesRead = 18,
    BlockCacheBytesWrite = 19,
    BloomFilterUseful = 20,
    BloomFilterFullPositive = 21,
    BloomFilterFullTruePositive = 22,
    BloomFilterMicros = 23,
    PersistentCacheHit = 24,
    PersistentCacheMiss = 25,
    SimBlockCacheHit = 26,
    SimBlockCacheMiss = 27,
    MemtableHit = 28,
    MemtableMiss = 29,
    GetHitL0 = 30,
    GetHitL1 = 31,
    GetHitL2AndUp = 32,
    CompactionKeyDropNewerEntry = 33,
    CompactionKeyDropObsolete = 34,
    CompactionKeyDropRangeDel = 35,
    CompactionKeyDropUser = 36,
    CompactionRangeDelDropObsolete = 37,
    CompactionOptimizedDelDropObsolete = 38,
    CompactionCancelled = 39,
    NumberKeysWritten = 40,
    NumberKeysRead = 41,
    NumberKeysUpdated = 42,
    BytesWritten = 43,
    BytesRead = 44,
    NumberDbSeek = 45,
    NumberDbNext = 46,
    NumberDbPrev = 47,
    NumberDbSeekFound = 48,
    NumberDbNextFound = 49,
    NumberDbPrevFound = 50,
    IterBytesRead = 51,
    NoFileCloses = 52,
    NoFileOpens = 53,
    NoFileErrors = 54,
    StallL0SlowdownMicros = 55,
    StallMemtableCompactionMicros = 56,
    StallL0NumFilesMicros = 57,
    StallMicros = 58,
    DbMutexWaitMicros = 59,
    RateLimitDelayMillis = 60,
    NoIterators = 61,
    NumberMultigetCalls = 62,
    NumberMultigetKeysRead = 63,
    NumberMultigetBytesRead = 64,
    NumberFilteredDeletes = 65,
    NumberMergeFailures = 66,
    BloomFilterPrefixChecked = 67,
    BloomFilterPrefixUseful = 68,
    NumberOfReseeksInIteration = 69,
    GetUpdatesSinceCalls = 70,
    BlockCacheCompressedMiss = 71,
    BlockCacheCompressedHit = 72,
    BlockCacheCompressedAdd = 73,
    BlockCacheCompressedAddFailures = 74,
    WalFileSynced = 75,
    WalFileBytes = 76,
    WriteDoneBySelf = 77,
    WriteDoneByOther = 78,
    WriteTimedout = 79,
    WriteWithWal = 80,
    CompactReadBytes = 81,
    CompactWriteBytes = 82,
    FlushWriteBytes = 83,
    NumberDirectLoadTableProperties = 84,
    NumberSuperversionAcquires = 85,
    NumberSuperversionReleases = 86,
    NumberSuperversionCleanups = 87,
    NumberBlockCompressed = 88,
    NumberBlockDecompressed = 89,
    NumberBlockNotCompressed = 90,
    MergeOperationTotalTime = 91,
    FilterOperationTotalTime = 92,
    RowCacheHit = 93,
    RowCacheMiss = 94,
    ReadAmpEstimateUsefulBytes = 95,
    ReadAmpTotalReadBytes = 96,
    NumberRateLimiterDrains = 97,
    NumberIterSkip = 98,
    BlobDbNumPut = 99,
    BlobDbNumWrite = 100,
    BlobDbNumGet = 101,
    BlobDbNumMultiget = 102,
    BlobDbNumSeek = 103,
    BlobDbNumNext = 104,
    BlobDbNumPrev = 105,
    BlobDbNumKeysWritten = 106,
    BlobDbNumKeysRead = 107,
    BlobDbBytesWritten = 108,
    BlobDbBytesRead = 109,
    BlobDbWriteInlined = 110,
    BlobDbWriteInlinedTtl = 111,
    BlobDbWriteBlob = 112,
    BlobDbWriteBlobTtl = 113,
    BlobDbBlobFileBytesWritten = 114,
    BlobDbBlobFileBytesRead = 115,
    BlobDbBlobFileSynced = 116,
    BlobDbBlobIndexExpiredCount = 117,
    BlobDbBlobIndexExpiredSize = 118,
    BlobDbBlobIndexEvictedCount = 119,
    BlobDbBlobIndexEvictedSize = 120,
    BlobDbGcNumFiles = 121,
    BlobDbGcNumNewFiles = 122,
    BlobDbGcFailures = 123,
    BlobDbGcNumKeysOverwritten = 124,
    BlobDbGcNumKeysExpired = 125,
    BlobDbGcNumKeysRelocated = 126,
    BlobDbGcBytesOverwritten = 127,
    BlobDbGcBytesExpired = 128,
    BlobDbGcBytesRelocated = 129,
    BlobDbFifoNumFilesEvicted = 130,
    BlobDbFifoNumKeysEvicted = 131,
    BlobDbFifoBytesEvicted = 132,
    TxnPrepareMutexOverhead = 133,
    TxnOldCommitMapMutexOverhead = 134,
    TxnDuplicateKeyOverhead = 135,
    TxnSnapshotMutexOverhead = 136,
    NumberMultigetKeysFound = 137,
    NoIteratorCreated = 138,
    NoIteratorDeleted = 139,
    BlockCacheCompressionDictMiss = 140,
    BlockCacheCompressionDictHit = 141,
    BlockCacheCompressionDictAdd = 142,
    BlockCacheCompressionDictBytesInsert = 143,
    BlockCacheCompressionDictBytesEvict = 144,
    TitanNumGet = 145,
    TitanNumSeek,
    TitanNumNext,
    TitanNumPrev,
    TitanBlobFileNumKeysWritten,
    TitanBlobFileNumKeysRead,
    TitanBlobFileBytesWritten,
    TitanBlobFileBytesRead,
    TitanBlobFileSynced,
    TitanGcNumFiles,
    TitanGcNumNewFiles,
    TitanGcNumKeysOverwritten,
    TitanGcNumKeysRelocated,
    TitanGcBytesOverwritten,
    TitanGcBytesRelocated,
    TitanGcBytesWritten,
    TitanGcBytesRead,
    TitanBlobCacheHit,
    TitanBlobCacheMiss,
    TitanGcNoNeed,
    TitanGcRemain,
    TitanGcDiscardable,
    TitanGcSample,
    TitanGcSmallFile,
    TitanGcFailure,
    TitanGcSuccess,
    TitanGcTriggerNext,
}
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum DBStatisticsHistogramType {
    DbGet = 0,
    DbWrite = 1,
    CompactionTime = 2,
    CompactionCpuTime = 3,
    SubcompactionSetupTime = 4,
    TableSyncMicros = 5,
    CompactionOutfileSyncMicros = 6,
    WalFileSyncMicros = 7,
    ManifestFileSyncMicros = 8,
    TableOpenIoMicros = 9,
    DbMultiget = 10,
    ReadBlockCompactionMicros = 11,
    ReadBlockGetMicros = 12,
    WriteRawBlockMicros = 13,
    StallL0SlowdownCount = 14,
    StallMemtableCompactionCount = 15,
    StallL0NumFilesCount = 16,
    HardRateLimitDelayCount = 17,
    SoftRateLimitDelayCount = 18,
    NumFilesInSingleCompaction = 19,
    DbSeek = 20,
    WriteStall = 21,
    SstReadMicros = 22,
    NumSubcompactionsScheduled = 23,
    BytesPerRead = 24,
    BytesPerWrite = 25,
    BytesPerMultiget = 26,
    BytesCompressed = 27,
    BytesDecompressed = 28,
    CompressionTimesNanos = 29,
    DecompressionTimesNanos = 30,
    ReadNumMergeOperands = 31,
    BlobDbKeySize = 32,
    BlobDbValueSize = 33,
    BlobDbWriteMicros = 34,
    BlobDbGetMicros = 35,
    BlobDbMultigetMicros = 36,
    BlobDbSeekMicros = 37,
    BlobDbNextMicros = 38,
    BlobDbPrevMicros = 39,
    BlobDbBlobFileWriteMicros = 40,
    BlobDbBlobFileReadMicros = 41,
    BlobDbBlobFileSyncMicros = 42,
    BlobDbGcMicros = 43,
    BlobDbCompressionMicros = 44,
    BlobDbDecompressionMicros = 45,
    FlushTime = 46,
    SstBatchSize = 47,
    DbWriteWalTime = 48,
    TitanKeySize = 49,
    TitanValueSize,
    TitanGetMicros,
    TitanSeekMicros,
    TitanNextMicros,
    TitanPrevMicros,
    TitanBlobFileWriteMicros,
    TitanBlobFileReadMicros,
    TitanBlobFileSyncMicros,
    TitanManifestFileSyncMicros,
    TitanGcMicros,
    TitanGcInputFileSize,
    TitanGcOutputFileSize,
    TitanIterTouchBlobFileCount,
}