Class CompactionJobStats
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
Statistics for a completed compaction job.
Maps to rocksdb_compaction_job_stats_t.
public sealed record CompactionJobStats : IEquatable<CompactionJobStats>
- Inheritance
-
CompactionJobStats
- Implements
- Inherited Members
Remarks
Like TableProperties, the native struct is a borrowed view into the owning job-info object and has no destroy function, so instances of this type are eager copies that are safe to keep beyond the callback.
Properties
CpuMicros
CPU time the compaction consumed, in microseconds.
public ulong CpuMicros { get; init; }
Property Value
ElapsedMicros
Wall-clock time the compaction took, in microseconds.
public ulong ElapsedMicros { get; init; }
Property Value
FileFsyncNanos
Time spent in fsync, in nanoseconds.
public ulong FileFsyncNanos { get; init; }
Property Value
FilePrepareWriteNanos
Time spent preparing writes, in nanoseconds.
public ulong FilePrepareWriteNanos { get; init; }
Property Value
FileRangeSyncNanos
Time spent in range sync, in nanoseconds.
public ulong FileRangeSyncNanos { get; init; }
Property Value
FileWriteNanos
Time spent writing files, in nanoseconds.
public ulong FileWriteNanos { get; init; }
Property Value
HasAccurateNumInputRecords
Whether NumInputRecords is exact. RocksDb may only estimate it.
public bool HasAccurateNumInputRecords { get; init; }
Property Value
IsFullCompaction
Whether the compaction covered every file in the column family.
public bool IsFullCompaction { get; init; }
Property Value
IsManualCompaction
Whether the compaction was requested by the application.
public bool IsManualCompaction { get; init; }
Property Value
IsRemoteCompaction
Whether the compaction ran on a remote worker.
public bool IsRemoteCompaction { get; init; }
Property Value
LargestOutputKeyPrefix
Prefix of the largest output key. Raw bytes, since keys are not necessarily text.
public byte[] LargestOutputKeyPrefix { get; init; }
Property Value
- byte[]
NumBlobsRead
Number of blobs read from blob files.
public ulong NumBlobsRead { get; init; }
Property Value
NumCorruptKeys
Number of keys that could not be parsed.
public ulong NumCorruptKeys { get; init; }
Property Value
NumExpiredDeletionRecords
Number of deletion entries that were dropped as no longer needed.
public ulong NumExpiredDeletionRecords { get; init; }
Property Value
NumFilteredInputFiles
Number of input files skipped entirely by a compaction filter.
public ulong NumFilteredInputFiles { get; init; }
Property Value
NumFilteredInputFilesAtOutputLevel
Number of skipped input files that were at the output level.
public ulong NumFilteredInputFilesAtOutputLevel { get; init; }
Property Value
NumInputDeletionRecords
Number of deletion entries among the inputs.
public ulong NumInputDeletionRecords { get; init; }
Property Value
NumInputFiles
Number of input files.
public ulong NumInputFiles { get; init; }
Property Value
NumInputFilesAtOutputLevel
Number of input files that were already at the output level.
public ulong NumInputFilesAtOutputLevel { get; init; }
Property Value
NumInputFilesTriviallyMoved
Number of input files that were moved rather than rewritten.
public ulong NumInputFilesTriviallyMoved { get; init; }
Property Value
NumInputRecords
Number of input records read.
public ulong NumInputRecords { get; init; }
Property Value
NumOutputFiles
Number of output files produced.
public ulong NumOutputFiles { get; init; }
Property Value
NumOutputFilesBlob
Number of output blob files produced.
public ulong NumOutputFilesBlob { get; init; }
Property Value
NumOutputRecords
Number of records written.
public ulong NumOutputRecords { get; init; }
Property Value
NumRecordsReplaced
Number of records superseded by a newer version of the same key.
public ulong NumRecordsReplaced { get; init; }
Property Value
NumSingleDelFallthru
Number of single deletions that found no matching put.
public ulong NumSingleDelFallthru { get; init; }
Property Value
NumSingleDelMismatch
Number of single deletions that did not match the expected put.
public ulong NumSingleDelMismatch { get; init; }
Property Value
SmallestOutputKeyPrefix
Prefix of the smallest output key. Raw bytes, since keys are not necessarily text.
public byte[] SmallestOutputKeyPrefix { get; init; }
Property Value
- byte[]
TotalBlobBytesRead
Total bytes read from blob files.
public ulong TotalBlobBytesRead { get; init; }
Property Value
TotalInputBytes
Total size of all input files, in bytes.
public ulong TotalInputBytes { get; init; }
Property Value
TotalInputRawKeyBytes
Total size of input keys before compression or encoding, in bytes.
public ulong TotalInputRawKeyBytes { get; init; }
Property Value
TotalInputRawValueBytes
Total size of input values before compression or encoding, in bytes.
public ulong TotalInputRawValueBytes { get; init; }
Property Value
TotalOutputBytes
Total size of all output files, in bytes.
public ulong TotalOutputBytes { get; init; }
Property Value
TotalOutputBytesBlob
Total size of all output blob files, in bytes.
public ulong TotalOutputBytesBlob { get; init; }
Property Value
TotalSkippedInputBytes
Total input bytes that were skipped rather than processed.
public ulong TotalSkippedInputBytes { get; init; }