Benchmark the exact application SQL shape, not a convenient equivalent
Benchmark the exact application SQL shape, including whether related IDs are literals or subqueries; logically equivalent SQL can select a radically different plan. This matters when establishing before/after performance baselines. The limit is that a warm EXPLAIN measures databa…