On this page
No universal benchmark numbers are claimed. Repository benches and perf probes are development measurements under their own conditions — cite conditions when quoting them.
Levers you control#
- Index the predicate: equality/range/order/time-window columns first; expression indexes for hot JSON paths.
- Shape the query: selective
WHEREbefore joins;LIMITearly; prefer keyset over largeOFFSET;EXPLAIN ANALYZEactuals over estimates. - Batch writes: multi-row
VALUES,INSERT…SELECT, short transactions; group commit already coalesces concurrent commits. - Mind checkpoints: 64 MiB / 16 segments / 15 min defaults bound replay; raising thresholds defers checkpoint cost but lengthens recovery.
- Measure:
./target/debug/plomid benchmark run --iterations N --jsonwrites<data_dir>/benchmarks/<run>.json(avg/p50/p95/p99/throughput forSELECT 1).
./target/debug/plomid metrics reports probe latency; server counters are unavailable in v0.1.0 (no metrics endpoint).
Was this page helpful? Thanks — noted locally, nothing is sent anywhere.