Commit Graph
1 Commits
Author SHA1 Message Date
jaredandClaude Opus 5.5 455ae2f177 perf(corpus): cache HTTP file metadata for the life of a session (#64)
On the remote path every CREATE VIEW and every query re-requested the same
file metadata over HTTP. Against the public Hugging Face corpus on 2026-11-12
(one run per arm, from this Mac), turning on DuckDB's
enable_http_metadata_cache moved:

  session open             5.6 s -> 1.6 s
  first one-year query     1.2 s -> 0.8 s
  same query again         0.55 s -> 0.02 s

parquet_metadata_cache alone changed nothing measurable, so it stays off.
The cache is per connection, so nothing persists between sessions; that half
of #64 is still open. Live-corpus tests pass with the setting on.

Refs #64

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:54:37 -05:00