Struct rerun::external::re_chunk_store::ChunkStoreChunkStats
source · pub struct ChunkStoreChunkStats {
pub num_chunks: u64,
pub total_size_bytes: u64,
pub num_rows: u64,
pub num_events: u64,
}
Expand description
Stats about a collection of chunks.
Each chunk contains data for only one entity.
Each chunk has data for either zero timelines (static chunk) or multiple timelines (temporal chunk). A temporal chunk has dense timelines.
Each chunk can contain multiple components (columns).
Fields§
§num_chunks: u64
The number of chunks this is the stats for.
total_size_bytes: u64
Includes everything: arrow payloads, timelines, rowids, and chunk overhead.
This is an approximation of the actual storage cost of an entity, as the measurement includes the overhead of various data structures we use in the database. It is imprecise, because it does not account for every possible place someone may be storing something related to the entity, only most of what is accessible inside this chunk store.
num_rows: u64
Number of rows.
This is usually the same as the number of log calls the user made.
Each row can contain multiple events (see Self::num_events
).
num_events: u64
How many component batches (“cells”).
Implementations§
source§impl ChunkStoreChunkStats
impl ChunkStoreChunkStats
pub fn from_chunk(chunk: &Arc<Chunk>) -> ChunkStoreChunkStats
Trait Implementations§
source§impl Add for ChunkStoreChunkStats
impl Add for ChunkStoreChunkStats
§type Output = ChunkStoreChunkStats
type Output = ChunkStoreChunkStats
+
operator.source§fn add(self, rhs: ChunkStoreChunkStats) -> <ChunkStoreChunkStats as Add>::Output
fn add(self, rhs: ChunkStoreChunkStats) -> <ChunkStoreChunkStats as Add>::Output
+
operation. Read moresource§impl AddAssign for ChunkStoreChunkStats
impl AddAssign for ChunkStoreChunkStats
source§fn add_assign(&mut self, rhs: ChunkStoreChunkStats)
fn add_assign(&mut self, rhs: ChunkStoreChunkStats)
+=
operation. Read moresource§impl Clone for ChunkStoreChunkStats
impl Clone for ChunkStoreChunkStats
source§fn clone(&self) -> ChunkStoreChunkStats
fn clone(&self) -> ChunkStoreChunkStats
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChunkStoreChunkStats
impl Debug for ChunkStoreChunkStats
source§impl Default for ChunkStoreChunkStats
impl Default for ChunkStoreChunkStats
source§fn default() -> ChunkStoreChunkStats
fn default() -> ChunkStoreChunkStats
source§impl Display for ChunkStoreChunkStats
impl Display for ChunkStoreChunkStats
source§impl Sub for ChunkStoreChunkStats
impl Sub for ChunkStoreChunkStats
§type Output = ChunkStoreChunkStats
type Output = ChunkStoreChunkStats
-
operator.source§fn sub(self, rhs: ChunkStoreChunkStats) -> <ChunkStoreChunkStats as Sub>::Output
fn sub(self, rhs: ChunkStoreChunkStats) -> <ChunkStoreChunkStats as Sub>::Output
-
operation. Read moresource§impl SubAssign for ChunkStoreChunkStats
impl SubAssign for ChunkStoreChunkStats
source§fn sub_assign(&mut self, rhs: ChunkStoreChunkStats)
fn sub_assign(&mut self, rhs: ChunkStoreChunkStats)
-=
operation. Read moresource§impl Sum for ChunkStoreChunkStats
impl Sum for ChunkStoreChunkStats
source§fn sum<I>(iter: I) -> ChunkStoreChunkStatswhere
I: Iterator<Item = ChunkStoreChunkStats>,
fn sum<I>(iter: I) -> ChunkStoreChunkStatswhere
I: Iterator<Item = ChunkStoreChunkStats>,
Self
from the elements by
“summing up” the items.impl Copy for ChunkStoreChunkStats
Auto Trait Implementations§
impl Freeze for ChunkStoreChunkStats
impl RefUnwindSafe for ChunkStoreChunkStats
impl Send for ChunkStoreChunkStats
impl Sync for ChunkStoreChunkStats
impl Unpin for ChunkStoreChunkStats
impl UnwindSafe for ChunkStoreChunkStats
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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§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> ⓘ
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> ⓘ
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 moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request