pub(crate) struct SstStats {Show 14 fields
pub(crate) entry_type_counts: BTreeMap<u8, u64>,
pub(crate) total_entries: u64,
pub(crate) index_blocks: BlockSizeInfo,
pub(crate) key_blocks: BlockSizeInfo,
pub(crate) variable_key_blocks: BlockSizeInfo,
pub(crate) fixed_key_blocks: BlockSizeInfo,
pub(crate) value_blocks: BlockSizeInfo,
pub(crate) block_directory_size: u64,
pub(crate) inline_value_bytes: u64,
pub(crate) small_value_refs: u64,
pub(crate) medium_value_refs: u64,
pub(crate) blob_refs: u64,
pub(crate) deleted_count: u64,
pub(crate) file_size: u64,
}Expand description
Statistics for a single SST file
Fields§
§entry_type_counts: BTreeMap<u8, u64>Count of entries by type
total_entries: u64Total entries
index_blocks: BlockSizeInfoIndex block sizes
key_blocks: BlockSizeInfoKey block sizes (all types combined)
variable_key_blocks: BlockSizeInfoVariable-size key blocks (types 1/2)
fixed_key_blocks: BlockSizeInfoFixed-size key blocks (types 3/4)
value_blocks: BlockSizeInfoValue block sizes (small values)
block_directory_size: u64Block directory size (block_count * 4 bytes at end of file)
inline_value_bytes: u64Value sizes by type (inline values track actual bytes)
small_value_refs: u64§medium_value_refs: u64§blob_refs: u64§deleted_count: u64§file_size: u64File size in bytes
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SstStats
impl RefUnwindSafe for SstStats
impl Send for SstStats
impl Sync for SstStats
impl Unpin for SstStats
impl UnsafeUnpin for SstStats
impl UnwindSafe for SstStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more