Rindle docs and package mapSkip to main content

ANALYSIS_LIMIT

Constant ANALYSIS_LIMIT 

Source
pub const ANALYSIS_LIMIT: u32 = 400;
Expand description

Cap how many rows ANALYZE / PRAGMA optimize samples per index, so a maintenance tick’s stats refresh on the live writer stays sub-millisecond regardless of table size (see rindle-replica’s maintenance module, which restores this bound after its full-ANALYZE escape hatch). Applied to every connection opened here.