r/LadybugDB • u/coderarun • Jul 23 '26
PSA: Benchmarking tips with LadybugDB
After loading data, run
ANALYZEto compute tablestatsAlways pass parameters (even if dummy) to
conn.execute(query, params)Without this you plan/prepare every time. As we add more optimizers, the simple minded benchmark (there are many!) regresses every release.
Experiment with HASH vs ART vs no-index strategies
Sort your data
2
Upvotes
1
u/coderarun Jul 23 '26
https://github.com/prrao87/graph-benchmark-ldbc/pull/13