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
Resolve over a DuckDB-file catalog attaches the lake and scans the whole corpus on every call (#1429 follow-up) #1497
Part of #1429. #1429 stays open until er-dev measures p95 under 300 ms.
er-dev on e1b7ef0d: p3live/default's ER_LAKE_CATALOG is a DuckDB file on EFS (/srv/er/data/p3live/catalog.ducklake), so the cached Postgres-catalog session never applies. Every one of 61 calls logged persistent=false.
Per call, from the resolve timings events:
about 700 ms outside the timed phases: the lake attach;
prefilter about 390 ms: a scan of the 259 MB, 15-file corpus;
standardize about 425 ms;
p50 1674 / p95 2112 ms in total.
A DuckDB-file catalog can't be held open across requests: the handle would lock out the runner pods' writes.
Done when a file-catalog dataset resolves from a session that holds no lake handle. When the catalog or its WAL changes, the session lists the corpus and membership data files from the lake, then reads them directly with read_parquet. Each call prefilters on cached keys and reads only the candidates. A corpus with delete files or inlined rows falls back to resolving through the lake. Answers must equal the lake resolve exactly.
Activity
perf(resolve): a lake-free session for DuckDB-file catalogs, reading …