Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
Loading...
Searching...
No Matches
LanceShardMemTableStats Struct Reference

#include <lance/lance.h>

Public Attributes

int32_t is_live
 
uint64_t row_count
 
uint64_t batch_count
 
uint64_t estimated_size_bytes
 
uint64_t index_bytes
 
uint64_t frozen_bytes
 
uint64_t grace_bytes
 
uint64_t retained_bytes
 
uint64_t generation
 
int32_t has_max_buffered_batch_position
 
uint64_t max_buffered_batch_position
 
uint64_t durable_batch_count
 
uint64_t global_offset
 
int32_t has_pending_wal_start_batch_position
 
uint64_t pending_wal_start_batch_position
 
int32_t has_pending_wal_end_batch_position
 
uint64_t pending_wal_end_batch_position
 
uint64_t pending_wal_batch_count
 
uint64_t pending_wal_row_count
 
uint64_t pending_wal_estimated_bytes
 
uint64_t frozen_count
 

Detailed Description

Live MemTable and memory statistics for a shard writer.

Byte totals mirror the Python-public dictionary: estimated_size_bytes is active row data, index_bytes is the active in-memory index footprint, and retained_bytes is the whole resident footprint. This call requires a live native writer; after close it fails with LANCE_ERR_INVALID_ARGUMENT.

Definition at line 11174 of file lance.h.

Member Data Documentation

◆ batch_count

uint64_t LanceShardMemTableStats::batch_count

Definition at line 11177 of file lance.h.

◆ durable_batch_count

uint64_t LanceShardMemTableStats::durable_batch_count

Definition at line 11188 of file lance.h.

◆ estimated_size_bytes

uint64_t LanceShardMemTableStats::estimated_size_bytes

Definition at line 11178 of file lance.h.

◆ frozen_bytes

uint64_t LanceShardMemTableStats::frozen_bytes

Definition at line 11180 of file lance.h.

◆ frozen_count

uint64_t LanceShardMemTableStats::frozen_count

Definition at line 11198 of file lance.h.

◆ generation

uint64_t LanceShardMemTableStats::generation

Definition at line 11183 of file lance.h.

◆ global_offset

uint64_t LanceShardMemTableStats::global_offset

Definition at line 11189 of file lance.h.

◆ grace_bytes

uint64_t LanceShardMemTableStats::grace_bytes

Definition at line 11181 of file lance.h.

◆ has_max_buffered_batch_position

int32_t LanceShardMemTableStats::has_max_buffered_batch_position

Definition at line 11185 of file lance.h.

◆ has_pending_wal_end_batch_position

int32_t LanceShardMemTableStats::has_pending_wal_end_batch_position

Definition at line 11193 of file lance.h.

◆ has_pending_wal_start_batch_position

int32_t LanceShardMemTableStats::has_pending_wal_start_batch_position

Definition at line 11191 of file lance.h.

◆ index_bytes

uint64_t LanceShardMemTableStats::index_bytes

Definition at line 11179 of file lance.h.

◆ is_live

int32_t LanceShardMemTableStats::is_live

Definition at line 11175 of file lance.h.

◆ max_buffered_batch_position

uint64_t LanceShardMemTableStats::max_buffered_batch_position

Definition at line 11186 of file lance.h.

◆ pending_wal_batch_count

uint64_t LanceShardMemTableStats::pending_wal_batch_count

Definition at line 11195 of file lance.h.

◆ pending_wal_end_batch_position

uint64_t LanceShardMemTableStats::pending_wal_end_batch_position

Definition at line 11194 of file lance.h.

◆ pending_wal_estimated_bytes

uint64_t LanceShardMemTableStats::pending_wal_estimated_bytes

Definition at line 11197 of file lance.h.

◆ pending_wal_row_count

uint64_t LanceShardMemTableStats::pending_wal_row_count

Definition at line 11196 of file lance.h.

◆ pending_wal_start_batch_position

uint64_t LanceShardMemTableStats::pending_wal_start_batch_position

Definition at line 11192 of file lance.h.

◆ retained_bytes

uint64_t LanceShardMemTableStats::retained_bytes

Definition at line 11182 of file lance.h.

◆ row_count

uint64_t LanceShardMemTableStats::row_count

Definition at line 11176 of file lance.h.


The documentation for this struct was generated from the following file: