Compare Query Plans

Comparing the query plans of two OLTP-SET benchmarks: A and B.

  • A benchmarked commit 6076fed using the Gen4 query planner.
  • B benchmarked commit bedcf51 using the Gen4 query planner.

Queries are ordered from the slowest to the fastest. The 50 slowest queries are shown.

select distinct c from sbtest6 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest7 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest1 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest10 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest3 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest2 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest9 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest4 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest5 where id between :vtg1 and :vtg2 order by c asc
Only A
select distinct c from sbtest8 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest4 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest8 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest3 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest5 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest6 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest1 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest10 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest2 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest9 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest7 where id between :vtg1 and :vtg2 order by c asc
Only A
select c from sbtest4 where id between :vtg1 and :vtg2
Only A
select c from sbtest2 where id between :vtg1 and :vtg2
Only A
select c from sbtest5 where id between :vtg1 and :vtg2
Only A
select c from sbtest3 where id between :vtg1 and :vtg2
Only A
select c from sbtest1 where id between :vtg1 and :vtg2
Only A
select c from sbtest10 where id between :vtg1 and :vtg2
Only A
select c from sbtest9 where id between :vtg1 and :vtg2
Only A
select c from sbtest7 where id between :vtg1 and :vtg2
Only A
select c from sbtest6 where id between :vtg1 and :vtg2
Only A
select c from sbtest8 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest9 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest6 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest3 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest1 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest8 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest10 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest5 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest7 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest4 where id between :vtg1 and :vtg2
Only A
select sum(k) from sbtest2 where id between :vtg1 and :vtg2
Only A
select c from sbtest1 where id = :id
Only A
select c from sbtest6 where id = :id
Only A
select c from sbtest4 where id = :id
Only A
select c from sbtest2 where id = :id
Only A
select c from sbtest10 where id = :id
Only A
select c from sbtest3 where id = :id
Only A
select c from sbtest9 where id = :id
Only A
select c from sbtest8 where id = :id
Only A
select c from sbtest5 where id = :id
Only A
select c from sbtest7 where id = :id
Only A
select distinct c from sbtest8 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest3 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest2 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest4 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest1 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest7 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest5 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest10 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest9 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select distinct c from sbtest6 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest5 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest8 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest6 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest2 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest10 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest1 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest4 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest9 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest7 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest3 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */ order by c asc
Only B
select c from sbtest9 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest1 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest8 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest10 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest4 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest2 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest3 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest6 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest5 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest7 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest9 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest7 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest6 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest5 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest3 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest1 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest8 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest4 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest10 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select sum(k) from sbtest2 where id between :vtg1 /* INT64 */ and :vtg2 /* INT64 */
Only B
select c from sbtest10 where id = :id /* INT64 */
Only B
select c from sbtest6 where id = :id /* INT64 */
Only B
select c from sbtest8 where id = :id /* INT64 */
Only B
select c from sbtest7 where id = :id /* INT64 */
Only B
select c from sbtest5 where id = :id /* INT64 */
Only B
select c from sbtest2 where id = :id /* INT64 */
Only B
select c from sbtest9 where id = :id /* INT64 */
Only B
select c from sbtest1 where id = :id /* INT64 */
Only B
select c from sbtest3 where id = :id /* INT64 */
Only B
select c from sbtest4 where id = :id /* INT64 */
Only B