pub struct InTxBatches {
pub batches: u64,
pub committed: u64,
pub rolled_back: u64,
pub peak_input_rows_bytes: u64,
pub peak_output_rows_bytes: u64,
pub peak_scratch_bytes: u64,
pub peak_wal_bytes: u64,
}Expand description
The CALL { … } IN TRANSACTIONS batch facts one CallSubquery
operator reports to PROFILE (REL8-2047): the batch counters — how many
batches ran, how many committed, how many rolled back under the ON ERROR policy — and the per-batch maxima: the input batch’s retained
row bytes, the installed output’s, the scratch the batch created
(entities, adjacency and property state — the redo log excluded, its
bytes are the WAL figure), and the redo log’s reserved bytes at commit,
the WAL payload the batch wrote. The counters are arm-local (not global
counter snapshots): the batch loop notes each finished batch into the
shared cell the clause’s record reads once its consumer drains the
stream. All-zero on every other clause, and on an unprofiled run.
Fields§
§batches: u64Batches that started a transaction.
committed: u64Batches that committed (both arms of the commit: a facade sink’s durable per-batch commit, and the statement-level boundary a nested or explicit-transaction run closes with).
rolled_back: u64Batches that rolled back — a handled failure under ON ERROR CONTINUE/BREAK, or the failing batch of ON ERROR FAIL.
peak_input_rows_bytes: u64The largest input batch’s retained row bytes.
peak_output_rows_bytes: u64The largest installed output’s retained row bytes.
peak_scratch_bytes: u64The most scratch bytes one batch created (redo excluded).
peak_wal_bytes: u64The most redo-log bytes one batch carried at its commit — the WAL payload it wrote.
Implementations§
Trait Implementations§
Source§impl Clone for InTxBatches
impl Clone for InTxBatches
impl Copy for InTxBatches
Source§impl Debug for InTxBatches
impl Debug for InTxBatches
Source§impl Default for InTxBatches
impl Default for InTxBatches
impl Eq for InTxBatches
Source§impl PartialEq for InTxBatches
impl PartialEq for InTxBatches
impl StructuralPartialEq for InTxBatches
Auto Trait Implementations§
impl Forget for InTxBatches
impl Freeze for InTxBatches
impl Move for InTxBatches
impl RefUnwindSafe for InTxBatches
impl Send for InTxBatches
impl Sync for InTxBatches
impl Unpin for InTxBatches
impl UnsafeUnpin for InTxBatches
impl UnwindSafe for InTxBatches
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.