Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
434d2be5
Commit
434d2be5
authored
Sep 20, 2017
by
Huachao Huang
Committed by
GitHub
Sep 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more block cache statistics (#134)
parent
c16d9cfb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
lib.rs
librocksdb_sys/src/lib.rs
+10
-0
No files found.
librocksdb_sys/src/lib.rs
View file @
434d2be5
...
@@ -140,12 +140,22 @@ pub enum CompactionPriority {
...
@@ -140,12 +140,22 @@ pub enum CompactionPriority {
pub
enum
DBStatisticsTickerType
{
pub
enum
DBStatisticsTickerType
{
BlockCacheMiss
=
0
,
// total block cache miss
BlockCacheMiss
=
0
,
// total block cache miss
BlockCacheHit
=
1
,
// total block cache hit
BlockCacheHit
=
1
,
// total block cache hit
BlockCacheAdd
=
2
,
BlockCacheAddFailures
=
3
,
BlockCacheIndexMiss
=
4
,
// times cache miss when accessing index block from block cache
BlockCacheIndexMiss
=
4
,
// times cache miss when accessing index block from block cache
BlockCacheIndexHit
=
5
,
BlockCacheIndexHit
=
5
,
BlockCacheIndexAdd
=
6
,
BlockCacheIndexBytesInsert
=
7
,
BlockCacheIndexBytesEvict
=
8
,
BlockCacheFilterMiss
=
9
,
// times cache miss when accessing filter block from block cache
BlockCacheFilterMiss
=
9
,
// times cache miss when accessing filter block from block cache
BlockCacheFilterHit
=
10
,
BlockCacheFilterHit
=
10
,
BlockCacheFilterAdd
=
11
,
BLockCacheFilterBytesInsert
=
12
,
BlockCacheFilterBytesEvict
=
13
,
BlockCacheDataMiss
=
14
,
// times cache miss when accessing data block from block cache
BlockCacheDataMiss
=
14
,
// times cache miss when accessing data block from block cache
BlockCacheDataHit
=
15
,
// times cache hit when accessing data block from block cache
BlockCacheDataHit
=
15
,
// times cache hit when accessing data block from block cache
BlockCacheDataAdd
=
16
,
BlockCacheDataBytesInsert
=
17
,
BlockCacheByteRead
=
18
,
// bytes read from cache
BlockCacheByteRead
=
18
,
// bytes read from cache
BlockCacheByteWrite
=
19
,
// bytes written into cache
BlockCacheByteWrite
=
19
,
// bytes written into cache
BloomFilterUseful
=
20
,
// times bloom filter has avoided file reads
BloomFilterUseful
=
20
,
// times bloom filter has avoided file reads
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment