pub struct TablePagerIngestionSample {
pub table: String,
pub rows: usize,
pub elapsed: Duration,
pub delta: IoStatsSnapshot,
}Expand description
Captures pager I/O metrics for a single table ingest span.
Fields§
§table: StringLogical table name for the recorded span.
rows: usizeRows written while the table ingest was active.
elapsed: DurationWall-clock duration of the ingest span.
delta: IoStatsSnapshotPager I/O deltas collected during the ingest span.
Implementations§
Source§impl TablePagerIngestionSample
impl TablePagerIngestionSample
Sourcepub fn overwrite_pct(&self) -> f64
pub fn overwrite_pct(&self) -> f64
Overwrite percentage (0-100) derived from IoStatsSnapshot::overwritten_put_bytes.
Sourcepub fn puts_per_batch(&self) -> f64
pub fn puts_per_batch(&self) -> f64
Average physical put operations per batch for this table ingest.
Sourcepub fn gets_per_batch(&self) -> f64
pub fn gets_per_batch(&self) -> f64
Average physical get operations per batch for this table ingest.
Sourcepub fn overwrite_mib(&self) -> f64
pub fn overwrite_mib(&self) -> f64
Overwrite bytes written during this ingest converted to mebibytes.
Trait Implementations§
Source§impl Clone for TablePagerIngestionSample
impl Clone for TablePagerIngestionSample
Source§fn clone(&self) -> TablePagerIngestionSample
fn clone(&self) -> TablePagerIngestionSample
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TablePagerIngestionSample
impl RefUnwindSafe for TablePagerIngestionSample
impl Send for TablePagerIngestionSample
impl Sync for TablePagerIngestionSample
impl Unpin for TablePagerIngestionSample
impl UnwindSafe for TablePagerIngestionSample
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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