Expand description
Query tracing and trace replay.
RocksDB can record the queries a DB serves into a trace file and later play
that file back against a DB. This module holds the parts of that feature
that are not methods on the DB: the options controlling what gets recorded
(TraceOptions, BlockCacheTraceOptions,
BlockCacheTraceWriterOptions), a reader for the raw records in a trace
file (TraceReader), and the replay side (Replayer,
ReplayOptions).
Wraps include/rocksdb/trace_reader_writer.h,
include/rocksdb/utilities/replayer.h, and the TraceOptions and
TraceFilterType declarations in include/rocksdb/options.h.
Structsยง
- Block
Cache Trace Options - Controls how much of the block cache access stream a block cache trace records.
- Block
Cache Trace Writer Options - Controls the file a block cache trace is written to.
- Replay
Options - Controls the pace and parallelism of a
Replayer::replayrun. - Replayer
- Plays a trace file back against a DB.
- Trace
Filter - Which operation types tracing skips.
- Trace
Options - Controls what a query trace, IO trace, or block cache trace records.
- Trace
Reader - Reads the raw, still-encoded records of a trace file one at a time.