

======================================================================
 QUERY FILE: 4 (4.sql)
 TIMESTAMP:  Mon Dec 15 19:09:43 CST 2025
======================================================================

--- [ CONFIG: dp ] ----------------------------------------
Limit  (cost=246134.78..246155.88 rows=1 width=24) (actual time=869.342..869.344 rows=1.00 loops=1)
  Output: orders.o_orderpriority, (count(*))
  Buffers: shared hit=138683
  ->  GroupAggregate  (cost=246134.78..246240.25 rows=5 width=24) (actual time=869.341..869.343 rows=1.00 loops=1)
        Output: orders.o_orderpriority, count(*)
        Group Key: orders.o_orderpriority
        Buffers: shared hit=138683
        ->  Sort  (cost=246134.78..246169.92 rows=14055 width=16) (actual time=868.729..868.951 rows=10368.00 loops=1)
              Output: orders.o_orderpriority
              Sort Key: orders.o_orderpriority
              Sort Method: quicksort  Memory: 1537kB
              Buffers: shared hit=138683
              ->  Hash Right Semi Join  (cost=49337.21..245166.48 rows=14055 width=16) (actual time=109.487..863.898 rows=51947.00 loops=1)
                    Output: orders.o_orderpriority
                    Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                    Buffers: shared hit=138680
                    ->  Seq Scan on public.lineitem  (cost=0.00..187568.12 rows=2000350 width=4) (actual time=0.009..514.593 rows=3793296.00 loops=1)
                          Output: lineitem.l_orderkey, lineitem.l_partkey, lineitem.l_suppkey, lineitem.l_linenumber, lineitem.l_quantity, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_tax, lineitem.l_returnflag, lineitem.l_linestatus, lineitem.l_shipdate, lineitem.l_commitdate, lineitem.l_receiptdate, lineitem.l_shipinstruct, lineitem.l_shipmode, lineitem.l_comment
                          Filter: (lineitem.l_commitdate < lineitem.l_receiptdate)
                          Rows Removed by Filter: 2207919
                          Buffers: shared hit=112555
                    ->  Hash  (cost=48625.00..48625.00 rows=56977 width=20) (actual time=109.379..109.379 rows=56577.00 loops=1)
                          Output: orders.o_orderpriority, orders.o_orderkey
                          Buckets: 65536  Batches: 1  Memory Usage: 3386kB
                          Buffers: shared hit=26125
                          ->  Seq Scan on public.orders  (cost=0.00..48625.00 rows=56977 width=20) (actual time=0.011..103.834 rows=56577.00 loops=1)
                                Output: orders.o_orderpriority, orders.o_orderkey
                                Filter: ((orders.o_orderdate >= '1994-12-01'::date) AND (orders.o_orderdate < '1995-03-01 00:00:00'::timestamp without time zone))
                                Rows Removed by Filter: 1443423
                                Buffers: shared hit=26125
Planning:
  Buffers: shared hit=174
Planning Time: 0.281 ms
Execution Time: 869.506 ms

--- [ CONFIG: goo_rows ] ----------------------------------------
Limit  (cost=246134.78..246155.88 rows=1 width=24) (actual time=865.263..865.265 rows=1.00 loops=1)
  Output: orders.o_orderpriority, (count(*))
  Buffers: shared hit=138683
  ->  GroupAggregate  (cost=246134.78..246240.25 rows=5 width=24) (actual time=865.262..865.264 rows=1.00 loops=1)
        Output: orders.o_orderpriority, count(*)
        Group Key: orders.o_orderpriority
        Buffers: shared hit=138683
        ->  Sort  (cost=246134.78..246169.92 rows=14055 width=16) (actual time=864.639..864.864 rows=10368.00 loops=1)
              Output: orders.o_orderpriority
              Sort Key: orders.o_orderpriority
              Sort Method: quicksort  Memory: 1537kB
              Buffers: shared hit=138683
              ->  Hash Right Semi Join  (cost=49337.21..245166.48 rows=14055 width=16) (actual time=108.733..859.769 rows=51947.00 loops=1)
                    Output: orders.o_orderpriority
                    Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                    Buffers: shared hit=138680
                    ->  Seq Scan on public.lineitem  (cost=0.00..187568.12 rows=2000350 width=4) (actual time=0.009..513.166 rows=3793296.00 loops=1)
                          Output: lineitem.l_orderkey, lineitem.l_partkey, lineitem.l_suppkey, lineitem.l_linenumber, lineitem.l_quantity, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_tax, lineitem.l_returnflag, lineitem.l_linestatus, lineitem.l_shipdate, lineitem.l_commitdate, lineitem.l_receiptdate, lineitem.l_shipinstruct, lineitem.l_shipmode, lineitem.l_comment
                          Filter: (lineitem.l_commitdate < lineitem.l_receiptdate)
                          Rows Removed by Filter: 2207919
                          Buffers: shared hit=112555
                    ->  Hash  (cost=48625.00..48625.00 rows=56977 width=20) (actual time=108.625..108.626 rows=56577.00 loops=1)
                          Output: orders.o_orderpriority, orders.o_orderkey
                          Buckets: 65536  Batches: 1  Memory Usage: 3386kB
                          Buffers: shared hit=26125
                          ->  Seq Scan on public.orders  (cost=0.00..48625.00 rows=56977 width=20) (actual time=0.012..103.266 rows=56577.00 loops=1)
                                Output: orders.o_orderpriority, orders.o_orderkey
                                Filter: ((orders.o_orderdate >= '1994-12-01'::date) AND (orders.o_orderdate < '1995-03-01 00:00:00'::timestamp without time zone))
                                Rows Removed by Filter: 1443423
                                Buffers: shared hit=26125
Planning:
  Buffers: shared hit=174
Planning Time: 0.283 ms
Execution Time: 865.357 ms

--- [ CONFIG: goo_selectivity ] ----------------------------------------
Limit  (cost=246134.78..246155.88 rows=1 width=24) (actual time=863.957..863.960 rows=1.00 loops=1)
  Output: orders.o_orderpriority, (count(*))
  Buffers: shared hit=138683
  ->  GroupAggregate  (cost=246134.78..246240.25 rows=5 width=24) (actual time=863.956..863.958 rows=1.00 loops=1)
        Output: orders.o_orderpriority, count(*)
        Group Key: orders.o_orderpriority
        Buffers: shared hit=138683
        ->  Sort  (cost=246134.78..246169.92 rows=14055 width=16) (actual time=863.333..863.556 rows=10368.00 loops=1)
              Output: orders.o_orderpriority
              Sort Key: orders.o_orderpriority
              Sort Method: quicksort  Memory: 1537kB
              Buffers: shared hit=138683
              ->  Hash Right Semi Join  (cost=49337.21..245166.48 rows=14055 width=16) (actual time=108.431..858.425 rows=51947.00 loops=1)
                    Output: orders.o_orderpriority
                    Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                    Buffers: shared hit=138680
                    ->  Seq Scan on public.lineitem  (cost=0.00..187568.12 rows=2000350 width=4) (actual time=0.007..514.499 rows=3793296.00 loops=1)
                          Output: lineitem.l_orderkey, lineitem.l_partkey, lineitem.l_suppkey, lineitem.l_linenumber, lineitem.l_quantity, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_tax, lineitem.l_returnflag, lineitem.l_linestatus, lineitem.l_shipdate, lineitem.l_commitdate, lineitem.l_receiptdate, lineitem.l_shipinstruct, lineitem.l_shipmode, lineitem.l_comment
                          Filter: (lineitem.l_commitdate < lineitem.l_receiptdate)
                          Rows Removed by Filter: 2207919
                          Buffers: shared hit=112555
                    ->  Hash  (cost=48625.00..48625.00 rows=56977 width=20) (actual time=108.318..108.319 rows=56577.00 loops=1)
                          Output: orders.o_orderpriority, orders.o_orderkey
                          Buckets: 65536  Batches: 1  Memory Usage: 3386kB
                          Buffers: shared hit=26125
                          ->  Seq Scan on public.orders  (cost=0.00..48625.00 rows=56977 width=20) (actual time=0.012..103.191 rows=56577.00 loops=1)
                                Output: orders.o_orderpriority, orders.o_orderkey
                                Filter: ((orders.o_orderdate >= '1994-12-01'::date) AND (orders.o_orderdate < '1995-03-01 00:00:00'::timestamp without time zone))
                                Rows Removed by Filter: 1443423
                                Buffers: shared hit=26125
Planning:
  Buffers: shared hit=174
Planning Time: 0.291 ms
Execution Time: 864.029 ms

--- [ CONFIG: goo_result_size ] ----------------------------------------
Limit  (cost=246134.78..246155.88 rows=1 width=24) (actual time=855.798..855.800 rows=1.00 loops=1)
  Output: orders.o_orderpriority, (count(*))
  Buffers: shared hit=138683
  ->  GroupAggregate  (cost=246134.78..246240.25 rows=5 width=24) (actual time=855.797..855.798 rows=1.00 loops=1)
        Output: orders.o_orderpriority, count(*)
        Group Key: orders.o_orderpriority
        Buffers: shared hit=138683
        ->  Sort  (cost=246134.78..246169.92 rows=14055 width=16) (actual time=855.180..855.399 rows=10368.00 loops=1)
              Output: orders.o_orderpriority
              Sort Key: orders.o_orderpriority
              Sort Method: quicksort  Memory: 1537kB
              Buffers: shared hit=138683
              ->  Hash Right Semi Join  (cost=49337.21..245166.48 rows=14055 width=16) (actual time=108.971..850.295 rows=51947.00 loops=1)
                    Output: orders.o_orderpriority
                    Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                    Buffers: shared hit=138680
                    ->  Seq Scan on public.lineitem  (cost=0.00..187568.12 rows=2000350 width=4) (actual time=0.007..509.230 rows=3793296.00 loops=1)
                          Output: lineitem.l_orderkey, lineitem.l_partkey, lineitem.l_suppkey, lineitem.l_linenumber, lineitem.l_quantity, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_tax, lineitem.l_returnflag, lineitem.l_linestatus, lineitem.l_shipdate, lineitem.l_commitdate, lineitem.l_receiptdate, lineitem.l_shipinstruct, lineitem.l_shipmode, lineitem.l_comment
                          Filter: (lineitem.l_commitdate < lineitem.l_receiptdate)
                          Rows Removed by Filter: 2207919
                          Buffers: shared hit=112555
                    ->  Hash  (cost=48625.00..48625.00 rows=56977 width=20) (actual time=108.847..108.847 rows=56577.00 loops=1)
                          Output: orders.o_orderpriority, orders.o_orderkey
                          Buckets: 65536  Batches: 1  Memory Usage: 3386kB
                          Buffers: shared hit=26125
                          ->  Seq Scan on public.orders  (cost=0.00..48625.00 rows=56977 width=20) (actual time=0.013..103.504 rows=56577.00 loops=1)
                                Output: orders.o_orderpriority, orders.o_orderkey
                                Filter: ((orders.o_orderdate >= '1994-12-01'::date) AND (orders.o_orderdate < '1995-03-01 00:00:00'::timestamp without time zone))
                                Rows Removed by Filter: 1443423
                                Buffers: shared hit=26125
Planning:
  Buffers: shared hit=174
Planning Time: 0.285 ms
Execution Time: 855.865 ms

--- [ CONFIG: goo_cost ] ----------------------------------------
Limit  (cost=246134.78..246155.88 rows=1 width=24) (actual time=886.320..886.323 rows=1.00 loops=1)
  Output: orders.o_orderpriority, (count(*))
  Buffers: shared hit=138683
  ->  GroupAggregate  (cost=246134.78..246240.25 rows=5 width=24) (actual time=886.319..886.322 rows=1.00 loops=1)
        Output: orders.o_orderpriority, count(*)
        Group Key: orders.o_orderpriority
        Buffers: shared hit=138683
        ->  Sort  (cost=246134.78..246169.92 rows=14055 width=16) (actual time=885.707..885.927 rows=10368.00 loops=1)
              Output: orders.o_orderpriority
              Sort Key: orders.o_orderpriority
              Sort Method: quicksort  Memory: 1537kB
              Buffers: shared hit=138683
              ->  Hash Right Semi Join  (cost=49337.21..245166.48 rows=14055 width=16) (actual time=111.126..880.783 rows=51947.00 loops=1)
                    Output: orders.o_orderpriority
                    Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                    Buffers: shared hit=138680
                    ->  Seq Scan on public.lineitem  (cost=0.00..187568.12 rows=2000350 width=4) (actual time=0.008..521.772 rows=3793296.00 loops=1)
                          Output: lineitem.l_orderkey, lineitem.l_partkey, lineitem.l_suppkey, lineitem.l_linenumber, lineitem.l_quantity, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_tax, lineitem.l_returnflag, lineitem.l_linestatus, lineitem.l_shipdate, lineitem.l_commitdate, lineitem.l_receiptdate, lineitem.l_shipinstruct, lineitem.l_shipmode, lineitem.l_comment
                          Filter: (lineitem.l_commitdate < lineitem.l_receiptdate)
                          Rows Removed by Filter: 2207919
                          Buffers: shared hit=112555
                    ->  Hash  (cost=48625.00..48625.00 rows=56977 width=20) (actual time=111.005..111.005 rows=56577.00 loops=1)
                          Output: orders.o_orderpriority, orders.o_orderkey
                          Buckets: 65536  Batches: 1  Memory Usage: 3386kB
                          Buffers: shared hit=26125
                          ->  Seq Scan on public.orders  (cost=0.00..48625.00 rows=56977 width=20) (actual time=0.013..104.783 rows=56577.00 loops=1)
                                Output: orders.o_orderpriority, orders.o_orderkey
                                Filter: ((orders.o_orderdate >= '1994-12-01'::date) AND (orders.o_orderdate < '1995-03-01 00:00:00'::timestamp without time zone))
                                Rows Removed by Filter: 1443423
                                Buffers: shared hit=26125
Planning:
  Buffers: shared hit=174
Planning Time: 0.282 ms
Execution Time: 886.459 ms

--- [ CONFIG: geqo ] ----------------------------------------
Limit  (cost=246134.78..246155.88 rows=1 width=24) (actual time=871.176..871.178 rows=1.00 loops=1)
  Output: orders.o_orderpriority, (count(*))
  Buffers: shared hit=138683
  ->  GroupAggregate  (cost=246134.78..246240.25 rows=5 width=24) (actual time=871.175..871.177 rows=1.00 loops=1)
        Output: orders.o_orderpriority, count(*)
        Group Key: orders.o_orderpriority
        Buffers: shared hit=138683
        ->  Sort  (cost=246134.78..246169.92 rows=14055 width=16) (actual time=870.556..870.777 rows=10368.00 loops=1)
              Output: orders.o_orderpriority
              Sort Key: orders.o_orderpriority
              Sort Method: quicksort  Memory: 1537kB
              Buffers: shared hit=138683
              ->  Hash Right Semi Join  (cost=49337.21..245166.48 rows=14055 width=16) (actual time=115.527..865.755 rows=51947.00 loops=1)
                    Output: orders.o_orderpriority
                    Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                    Buffers: shared hit=138680
                    ->  Seq Scan on public.lineitem  (cost=0.00..187568.12 rows=2000350 width=4) (actual time=0.010..514.804 rows=3793296.00 loops=1)
                          Output: lineitem.l_orderkey, lineitem.l_partkey, lineitem.l_suppkey, lineitem.l_linenumber, lineitem.l_quantity, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_tax, lineitem.l_returnflag, lineitem.l_linestatus, lineitem.l_shipdate, lineitem.l_commitdate, lineitem.l_receiptdate, lineitem.l_shipinstruct, lineitem.l_shipmode, lineitem.l_comment
                          Filter: (lineitem.l_commitdate < lineitem.l_receiptdate)
                          Rows Removed by Filter: 2207919
                          Buffers: shared hit=112555
                    ->  Hash  (cost=48625.00..48625.00 rows=56977 width=20) (actual time=115.352..115.353 rows=56577.00 loops=1)
                          Output: orders.o_orderpriority, orders.o_orderkey
                          Buckets: 65536  Batches: 1  Memory Usage: 3386kB
                          Buffers: shared hit=26125
                          ->  Seq Scan on public.orders  (cost=0.00..48625.00 rows=56977 width=20) (actual time=0.013..107.292 rows=56577.00 loops=1)
                                Output: orders.o_orderpriority, orders.o_orderkey
                                Filter: ((orders.o_orderdate >= '1994-12-01'::date) AND (orders.o_orderdate < '1995-03-01 00:00:00'::timestamp without time zone))
                                Rows Removed by Filter: 1443423
                                Buffers: shared hit=26125
Planning:
  Buffers: shared hit=174
Planning Time: 0.459 ms
Execution Time: 871.242 ms
