haiku.rag/haiku_rag_slim/haiku/rag/store
Yiorgis Gozadinos 581ddf4f41
Bound vacuum compaction memory on the tables holding docling blobs
Vacuum compacts documents and document_items through lance directly
with a fragment target derived from storage.compaction_target_bytes
(default 2 GiB), instead of AsyncTable.optimize, whose default
1,048,576-row fragment target re-merges the whole table on every pass
and peaks at 5-6x the table's bytes. The target is sized from the
widest fragment's bytes per row, so peak memory is bounded by the
target instead of the corpus. lancedb's async API exposes no
compaction options (lancedb/lancedb#2325), hence the pylance
dependency.
2026-09-04 10:35:26 +03:00
..
models Use astimezone, add timezone tests, linting 2026-09-03 17:48:09 +03:00
repositories Use astimezone, add timezone tests, linting 2026-09-03 17:48:09 +03:00
upgrades Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +03:00
__init__.py Answer for an unknown database name with one type 2026-08-27 18:04:27 +03:00
compression.py Collapse docling compression to a single function 2026-06-24 10:43:27 +03:00
engine.py Bound vacuum compaction memory on the tables holding docling blobs 2026-09-04 10:35:26 +03:00
exceptions.py State what the code does, not what it replaced 2026-08-28 15:13:52 +03:00
info.py Hand storage the database location, not the configuration that placed it 2026-09-03 15:11:37 +03:00
schema.py Bound vacuum compaction memory on the tables holding docling blobs 2026-09-04 10:35:26 +03:00