You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Factorized tables zero-fill a 256 KB block up front, 512 KB cleared per constant query #1299
This work was produced with the help of language models.
Every FactorizedTable zero-fills a full 256 KB page for its first block, even when it holds one row. RETURN 1 creates two of them, the dummy scan's table and the result collector's, so each query clears 512 KB it never reads: about 13% of a warm RETURN 1.
Expected: a one-row table touches one tuple's worth of memory. Actual: every query pays for two 256 KB memsets.
Activity
zahariash commentedon Oct 18, 2026
I can't add sub-issues on this repository; could you set this issue's parent to #1290?