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
Cache total_count for DuckLake-cached endpoints #242
On a DuckLake-cached endpoint the COUNT(*) for total_count costs about as much as the page query (7-17 ms on 2.0.1, mostly DuckLake per-query metadata). The count cannot change between refreshes.
Proposal: cache total_count keyed by rendered SQL + bound values + a per-endpoint refresh generation counter (bumped on every refresh), LRU-capped (~10k entries, ~2.5 MB). Exact between refreshes.
Measured prototype (real binary over HTTP, 2.0.1): +25% on an unfiltered 2M-row cached endpoint at 64 clients, +18-45% on filtered cached endpoints.
Activity
feat: Reuse total_count of DuckLake-cached endpoints between catalog …
docs: Cached total_count and per-request CPU work (#242, #243)
Merge #242/#243: cached total_count on DuckLake caches, less per-requ…
fix: Tighten count cache eligibility and keys; retry after a failed p…
Merge branch 'chore/gh-241-duckdb-2-0' into fix/gh-242-245-followups
Merge remote-tracking branch 'origin/main' into fix/gh-242-245-followups