TORADB_PROFILE in demo/run.sh.
Profiles
Ingest
- Keep index cache small so ingest does not compete with segment writes.
- Disable warmup; no query path yet.
- After bulk load, run
toradb-ingest resume --db PATH --table TABLEto build TBM3 sidecars, lexicons, and optional route index.
Serving
- Use
TORADB_CACHE_AUTO=1to size the mmap BM25 cache from available RAM (TORADB_CACHE_INDEX_FRACTION, default0.20, capped byTORADB_CACHE_AUTO_CAP_BYTES, default 8GB). - Override with
TORADB_CACHE_INDEX_BYTESwhen you need a fixed budget. - Enable
TORADB_WARMUP_ON_START=1for APIs so the first user query is not cold.
Cache variables
See also Search strategies and On-disk layout.
