pub struct TableStatistics {
pub disk_size: u64,
pub uncompressed_size: u64,
pub compressed_size: u64,
pub compression_ratio: f64,
pub block_count: u64,
pub avg_block_size: f64,
pub index_size: u64,
pub bloom_filter_size: u64,
pub level_count: u32,
}Expand description
Table-level aggregated statistics
Fields§
§disk_size: u64Total disk space used by the SSTable
uncompressed_size: u64Uncompressed size
compressed_size: u64Compressed size
compression_ratio: f64Compression ratio
block_count: u64Number of blocks in the SSTable
avg_block_size: f64Average block size
index_size: u64Index size in bytes
bloom_filter_size: u64Bloom filter size in bytes
level_count: u32Number of levels in LSM tree
Trait Implementations§
Source§impl Clone for TableStatistics
impl Clone for TableStatistics
Source§fn clone(&self) -> TableStatistics
fn clone(&self) -> TableStatistics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableStatistics
impl Debug for TableStatistics
Source§impl<'de> Deserialize<'de> for TableStatistics
impl<'de> Deserialize<'de> for TableStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TableStatistics
impl RefUnwindSafe for TableStatistics
impl Send for TableStatistics
impl Sync for TableStatistics
impl Unpin for TableStatistics
impl UnsafeUnpin for TableStatistics
impl UnwindSafe for TableStatistics
Blanket Implementations§
impl<T> Allocation for T
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