Commit a2da29b1 authored by Huachao Huang's avatar Huachao Huang Committed by GitHub

Add write statistics (#126)

parent 1bb369b6
...@@ -183,6 +183,10 @@ pub enum DBStatisticsTickerType { ...@@ -183,6 +183,10 @@ pub enum DBStatisticsTickerType {
// creating // creating
WalFileSynced = 70, // number of times WAL sync is done WalFileSynced = 70, // number of times WAL sync is done
WalFileBytes = 71, // number of bytes written to WAL WalFileBytes = 71, // number of bytes written to WAL
WriteDoneBySelf = 72, // number of writes processed by self
WriteDoneByOther = 73, // number of writes processed by other
WriteTimeout = 74, // number of writes ending up with timed-out
WriteWithWAL = 75, // number of writes that request WAL
CompactReadBytes = 76, // bytes read during compaction CompactReadBytes = 76, // bytes read during compaction
CompactWriteBytes = 77, // bytes written during compaction CompactWriteBytes = 77, // bytes written during compaction
FlushWriteBytes = 78, // bytes written during flush FlushWriteBytes = 78, // bytes written during flush
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment