pub struct IndexVerify {
pub name: Vec<u8>,
pub entries: u64,
pub approx_bytes: u64,
pub coerce_failures: u64,
pub excluded: u64,
pub absent: u64,
pub rows: u64,
pub missing: u64,
pub duplicates: u64,
pub drift: u64,
pub checked: u64,
}Expand description
Per-index verification counters, one row of TABLE.VERIFY.
Fields§
§name: Vec<u8>Compiled index name (<table>.<column-or-orderpath>).
entries: u64Entries currently held by the index.
approx_bytes: u64Approximate resident bytes of the index structure.
coerce_failures: u64Rows whose driving column is present but fails to coerce to the declared type. Recomputed fresh on every call — the 4.0 counter of this name was a lifetime tally that also swallowed absent-column rows, which is how a healthy migration once read as 30 152 live failures.
excluded: u64Rows excluded because a string component exceeded the composite
bound (MAX_STR_COMPONENT). Fresh. The counter that turns a
silent two-row entries gap into a named number.
absent: u64Rows whose driving column is absent — NULL semantics, excluded by design and not a failure. Fresh; named so absence can never again masquerade as coercion failure.
rows: u64Prefix rows this verify walked for the row→index direction.
missing: u64Rows that derive a value yet have no entry in the index — the “writer forgot this path” class a drift walk structurally cannot see, because it iterates entries and a missing entry is not there to iterate. Fresh.
duplicates: u64Distinct sort keys held by more than one row. Non-zero means the sort is not a total order — a paged reader can skip or repeat rows at page boundaries. Add a bounded tie-break column.
drift: u64Entries whose held value disagrees with re-deriving from the row right now. Recomputed fresh on every call.
checked: u64Entries the drift recheck examined this call.
Trait Implementations§
Source§impl Clone for IndexVerify
impl Clone for IndexVerify
Source§fn clone(&self) -> IndexVerify
fn clone(&self) -> IndexVerify
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more