[−][src]Struct rocks::compaction_job_stats::CompactionJobStats
Implementations
impl CompactionJobStats
[src]
pub fn elapsed_micros(&self) -> u64
[src]
the elapsed time in micro of this compaction.
pub fn num_input_records(&self) -> u64
[src]
the number of compaction input records.
pub fn num_input_files(&self) -> usize
[src]
the number of compaction input files.
pub fn num_input_files_at_output_level(&self) -> usize
[src]
the number of compaction input files at the output level.
pub fn num_output_records(&self) -> u64
[src]
the number of compaction output records.
pub fn num_output_files(&self) -> usize
[src]
the number of compaction output files.
pub fn is_manual_compaction(&self) -> bool
[src]
true if the compaction is a manual compaction
pub fn total_input_bytes(&self) -> u64
[src]
the size of the compaction input in bytes.
pub fn total_output_bytes(&self) -> u64
[src]
the size of the compaction output in bytes.
pub fn num_records_replaced(&self) -> u64
[src]
number of records being replaced by newer record associated with same key. this could be a new value or a deletion entry for that key so this field sums up all updated and deleted keys
pub fn total_input_raw_key_bytes(&self) -> u64
[src]
the sum of the uncompressed input keys in bytes.
pub fn total_input_raw_value_bytes(&self) -> u64
[src]
the sum of the uncompressed input values in bytes.
pub fn num_input_deletion_records(&self) -> u64
[src]
the number of deletion entries before compaction. Deletion entries can disappear after compaction because they expired
pub fn num_expired_deletion_records(&self) -> u64
[src]
number of deletion records that were found obsolete and discarded because it is not possible to delete any more keys with this entry (i.e. all possible deletions resulting from it have been completed)
pub fn num_corrupt_keys(&self) -> u64
[src]
number of corrupt keys (ParseInternalKey returned false when applied to the key) encountered and written out.
pub fn file_write_nanos(&self) -> u64
[src]
Following counters are only populated if options.report_bg_io_stats = true; Time spent on file's Append() call.
pub fn file_range_sync_nanos(&self) -> u64
[src]
Time spent on sync file range.
pub fn file_fsync_nanos(&self) -> u64
[src]
Time spent on file fsync.
pub fn file_prepare_write_nanos(&self) -> u64
[src]
Time spent on preparing file write (falocate, etc)
pub fn smallest_output_key_prefix(&self) -> &[u8]
[src]
0-terminated strings storing the first 8 bytes of the smallest and largest key in the output.
pub fn largest_output_key_prefix(&self) -> &[u8]
[src]
pub fn num_single_del_fallthru(&self) -> u64
[src]
number of single-deletes which do not meet a put
pub fn num_single_del_mismatch(&self) -> u64
[src]
number of single-deletes which meet something other than a put
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompactionJobStats
impl !Send for CompactionJobStats
impl !Sync for CompactionJobStats
impl Unpin for CompactionJobStats
impl UnwindSafe for CompactionJobStats
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,