

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

--- [ CONFIG: dp ] ----------------------------------------
Limit  (cost=267937.51..267937.55 rows=1 width=116) (actual time=870.410..870.417 rows=1.00 loops=1)
  Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), (sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))
  Buffers: shared hit=142505
  ->  GroupAggregate  (cost=267937.51..268137.62 rows=6157 width=116) (actual time=870.409..870.416 rows=1.00 loops=1)
        Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))
        Group Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
        Buffers: shared hit=142505
        ->  Sort  (cost=267937.51..267952.91 rows=6157 width=96) (actual time=870.113..870.147 rows=1328.00 loops=1)
              Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), lineitem.l_extendedprice, lineitem.l_discount
              Sort Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
              Sort Method: quicksort  Memory: 656kB
              Buffers: shared hit=142505
              ->  Hash Join  (cost=55757.80..267549.99 rows=6157 width=96) (actual time=192.766..868.093 rows=5394.00 loops=1)
                    Output: n1.n_name, n2.n_name, EXTRACT(year FROM lineitem.l_shipdate), lineitem.l_extendedprice, lineitem.l_discount
                    Hash Cond: (lineitem.l_suppkey = supplier.s_suppkey)
                    Join Filter: (((n1.n_name = 'KENYA'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'KENYA'::bpchar)))
                    Rows Removed by Join Filter: 5418
                    Buffers: shared hit=142499
                    ->  Hash Join  (cost=55377.90..266363.17 rows=147948 width=46) (actual time=191.330..854.839 rows=144140.00 loops=1)
                          Output: lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_suppkey, n2.n_name
                          Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                          Buffers: shared hit=142275
                          ->  Seq Scan on public.lineitem  (cost=0.00..202570.75 rows=1849345 width=24) (actual time=0.007..490.733 rows=1828450.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_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))
                                Rows Removed by Filter: 4172765
                                Buffers: shared hit=112555
                          ->  Hash  (cost=53877.90..53877.90 rows=120000 width=30) (actual time=191.232..191.234 rows=118646.00 loops=1)
                                Output: orders.o_orderkey, n2.n_name
                                Buckets: 131072  Batches: 1  Memory Usage: 8208kB
                                Buffers: shared hit=29720
                                ->  Hash Join  (cost=5927.90..53877.90 rows=120000 width=30) (actual time=17.635..175.326 rows=118646.00 loops=1)
                                      Output: orders.o_orderkey, n2.n_name
                                      Hash Cond: (orders.o_custkey = customer.c_custkey)
                                      Buffers: shared hit=29720
                                      ->  Seq Scan on public.orders  (cost=0.00..41125.00 rows=1500000 width=8) (actual time=0.003..60.501 rows=1500000.00 loops=1)
                                            Output: orders.o_orderkey, orders.o_custkey, orders.o_orderstatus, orders.o_totalprice, orders.o_orderdate, orders.o_orderpriority, orders.o_clerk, orders.o_shippriority, orders.o_comment
                                            Buffers: shared hit=26125
                                      ->  Hash  (cost=5777.90..5777.90 rows=12000 width=30) (actual time=17.613..17.614 rows=11944.00 loops=1)
                                            Output: customer.c_custkey, n2.n_name
                                            Buckets: 16384  Batches: 1  Memory Usage: 852kB
                                            Buffers: shared hit=3595
                                            ->  Hash Join  (cost=1.40..5777.90 rows=12000 width=30) (actual time=0.012..16.447 rows=11944.00 loops=1)
                                                  Output: customer.c_custkey, n2.n_name
                                                  Hash Cond: (customer.c_nationkey = n2.n_nationkey)
                                                  Buffers: shared hit=3595
                                                  ->  Seq Scan on public.customer  (cost=0.00..5094.00 rows=150000 width=8) (actual time=0.002..7.180 rows=150000.00 loops=1)
                                                        Output: customer.c_custkey, customer.c_name, customer.c_address, customer.c_nationkey, customer.c_phone, customer.c_acctbal, customer.c_mktsegment, customer.c_comment
                                                        Buffers: shared hit=3594
                                                  ->  Hash  (cost=1.38..1.38 rows=2 width=30) (actual time=0.005..0.005 rows=2.00 loops=1)
                                                        Output: n2.n_name, n2.n_nationkey
                                                        Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                                        Buffers: shared hit=1
                                                        ->  Seq Scan on public.nation n2  (cost=0.00..1.38 rows=2 width=30) (actual time=0.002..0.003 rows=2.00 loops=1)
                                                              Output: n2.n_name, n2.n_nationkey
                                                              Filter: ((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'KENYA'::bpchar))
                                                              Rows Removed by Filter: 23
                                                              Buffers: shared hit=1
                    ->  Hash  (cost=369.90..369.90 rows=800 width=30) (actual time=1.203..1.204 rows=756.00 loops=1)
                          Output: supplier.s_suppkey, n1.n_name
                          Buckets: 1024  Batches: 1  Memory Usage: 54kB
                          Buffers: shared hit=224
                          ->  Hash Join  (cost=1.40..369.90 rows=800 width=30) (actual time=0.026..1.153 rows=756.00 loops=1)
                                Output: supplier.s_suppkey, n1.n_name
                                Hash Cond: (supplier.s_nationkey = n1.n_nationkey)
                                Buffers: shared hit=224
                                ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.009..0.612 rows=10000.00 loops=1)
                                      Output: supplier.s_suppkey, supplier.s_name, supplier.s_address, supplier.s_nationkey, supplier.s_phone, supplier.s_acctbal, supplier.s_comment
                                      Buffers: shared hit=223
                                ->  Hash  (cost=1.38..1.38 rows=2 width=30) (actual time=0.010..0.010 rows=2.00 loops=1)
                                      Output: n1.n_name, n1.n_nationkey
                                      Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                      Buffers: shared hit=1
                                      ->  Seq Scan on public.nation n1  (cost=0.00..1.38 rows=2 width=30) (actual time=0.005..0.007 rows=2.00 loops=1)
                                            Output: n1.n_name, n1.n_nationkey
                                            Filter: ((n1.n_name = 'KENYA'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))
                                            Rows Removed by Filter: 23
                                            Buffers: shared hit=1
Planning:
  Buffers: shared hit=216
Planning Time: 0.523 ms
Execution Time: 870.638 ms

--- [ CONFIG: goo_rows ] ----------------------------------------
Limit  (cost=270343.85..270343.88 rows=1 width=116) (actual time=918.865..918.871 rows=1.00 loops=1)
  Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), (sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))
  Buffers: shared hit=142505
  ->  GroupAggregate  (cost=270343.85..270536.18 rows=5918 width=116) (actual time=918.864..918.870 rows=1.00 loops=1)
        Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))
        Group Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
        Buffers: shared hit=142505
        ->  Sort  (cost=270343.85..270358.64 rows=5918 width=96) (actual time=918.564..918.597 rows=1328.00 loops=1)
              Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), lineitem.l_extendedprice, lineitem.l_discount
              Sort Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
              Sort Method: quicksort  Memory: 656kB
              Buffers: shared hit=142505
              ->  Hash Join  (cost=220559.99..269973.06 rows=5918 width=96) (actual time=652.328..916.756 rows=5394.00 loops=1)
                    Output: n1.n_name, n2.n_name, EXTRACT(year FROM lineitem.l_shipdate), lineitem.l_extendedprice, lineitem.l_discount
                    Hash Cond: ((orders.o_custkey = customer.c_custkey) AND (n2.n_nationkey = customer.c_nationkey))
                    Buffers: shared hit=142499
                    ->  Hash Join  (cost=213215.99..261445.47 rows=147948 width=76) (actual time=628.585..866.088 rows=137471.00 loops=1)
                          Output: orders.o_custkey, lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, n1.n_name, n2.n_name, n2.n_nationkey
                          Hash Cond: (orders.o_orderkey = lineitem.l_orderkey)
                          Buffers: shared hit=138905
                          ->  Seq Scan on public.orders  (cost=0.00..41125.00 rows=1500000 width=8) (actual time=0.013..57.893 rows=1500000.00 loops=1)
                                Output: orders.o_orderkey, orders.o_custkey, orders.o_orderstatus, orders.o_totalprice, orders.o_orderdate, orders.o_orderpriority, orders.o_clerk, orders.o_shippriority, orders.o_comment
                                Buffers: shared hit=26125
                          ->  Hash  (cost=211366.64..211366.64 rows=147948 width=76) (actual time=628.365..628.369 rows=137471.00 loops=1)
                                Output: lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_orderkey, n1.n_name, n2.n_name, n2.n_nationkey
                                Buckets: 262144  Batches: 1  Memory Usage: 16952kB
                                Buffers: shared hit=112780
                                ->  Hash Join  (cost=381.37..211366.64 rows=147948 width=76) (actual time=1.190..598.050 rows=137471.00 loops=1)
                                      Output: lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_orderkey, n1.n_name, n2.n_name, n2.n_nationkey
                                      Hash Cond: (lineitem.l_suppkey = supplier.s_suppkey)
                                      Buffers: shared hit=112780
                                      ->  Seq Scan on public.lineitem  (cost=0.00..202570.75 rows=1849345 width=24) (actual time=0.007..507.407 rows=1828450.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_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))
                                            Rows Removed by Filter: 4172765
                                            Buffers: shared hit=112555
                                      ->  Hash  (cost=371.37..371.37 rows=800 width=60) (actual time=1.177..1.180 rows=756.00 loops=1)
                                            Output: supplier.s_suppkey, n1.n_name, n2.n_name, n2.n_nationkey
                                            Buckets: 1024  Batches: 1  Memory Usage: 76kB
                                            Buffers: shared hit=225
                                            ->  Hash Join  (cost=2.87..371.37 rows=800 width=60) (actual time=0.037..1.123 rows=756.00 loops=1)
                                                  Output: supplier.s_suppkey, n1.n_name, n2.n_name, n2.n_nationkey
                                                  Hash Cond: (supplier.s_nationkey = n1.n_nationkey)
                                                  Buffers: shared hit=225
                                                  ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.011..0.549 rows=10000.00 loops=1)
                                                        Output: supplier.s_suppkey, supplier.s_name, supplier.s_address, supplier.s_nationkey, supplier.s_phone, supplier.s_acctbal, supplier.s_comment
                                                        Buffers: shared hit=223
                                                  ->  Hash  (cost=2.84..2.84 rows=2 width=60) (actual time=0.021..0.022 rows=2.00 loops=1)
                                                        Output: n1.n_name, n1.n_nationkey, n2.n_name, n2.n_nationkey
                                                        Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                                        Buffers: shared hit=2
                                                        ->  Nested Loop  (cost=0.00..2.84 rows=2 width=60) (actual time=0.016..0.020 rows=2.00 loops=1)
                                                              Output: n1.n_name, n1.n_nationkey, n2.n_name, n2.n_nationkey
                                                              Join Filter: (((n1.n_name = 'KENYA'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'KENYA'::bpchar)))
                                                              Rows Removed by Join Filter: 2
                                                              Buffers: shared hit=2
                                                              ->  Seq Scan on public.nation n1  (cost=0.00..1.38 rows=2 width=30) (actual time=0.005..0.007 rows=2.00 loops=1)
                                                                    Output: n1.n_nationkey, n1.n_name, n1.n_regionkey, n1.n_comment
                                                                    Filter: ((n1.n_name = 'KENYA'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))
                                                                    Rows Removed by Filter: 23
                                                                    Buffers: shared hit=1
                                                              ->  Materialize  (cost=0.00..1.39 rows=2 width=30) (actual time=0.004..0.005 rows=2.00 loops=2)
                                                                    Output: n2.n_name, n2.n_nationkey
                                                                    Storage: Memory  Maximum Storage: 17kB
                                                                    Buffers: shared hit=1
                                                                    ->  Seq Scan on public.nation n2  (cost=0.00..1.38 rows=2 width=30) (actual time=0.004..0.006 rows=2.00 loops=1)
                                                                          Output: n2.n_name, n2.n_nationkey
                                                                          Filter: ((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'KENYA'::bpchar))
                                                                          Rows Removed by Filter: 23
                                                                          Buffers: shared hit=1
                    ->  Hash  (cost=5094.00..5094.00 rows=150000 width=8) (actual time=23.215..23.215 rows=150000.00 loops=1)
                          Output: customer.c_custkey, customer.c_nationkey
                          Buckets: 262144  Batches: 1  Memory Usage: 7908kB
                          Buffers: shared hit=3594
                          ->  Seq Scan on public.customer  (cost=0.00..5094.00 rows=150000 width=8) (actual time=0.006..12.490 rows=150000.00 loops=1)
                                Output: customer.c_custkey, customer.c_nationkey
                                Buffers: shared hit=3594
Planning:
  Buffers: shared hit=216
Planning Time: 0.418 ms
Execution Time: 919.230 ms

--- [ CONFIG: goo_selectivity ] ----------------------------------------
Limit  (cost=358071.68..358071.71 rows=1 width=116) (actual time=1613.233..1613.235 rows=1.00 loops=1)
  Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), (sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))
  Buffers: shared hit=142505
  ->  GroupAggregate  (cost=358071.68..358271.78 rows=6157 width=116) (actual time=1613.232..1613.234 rows=1.00 loops=1)
        Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))
        Group Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
        Buffers: shared hit=142505
        ->  Sort  (cost=358071.68..358087.07 rows=6157 width=96) (actual time=1612.918..1612.960 rows=1328.00 loops=1)
              Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), lineitem.l_extendedprice, lineitem.l_discount
              Sort Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
              Sort Method: quicksort  Memory: 656kB
              Buffers: shared hit=142505
              ->  Hash Join  (cost=67294.80..357684.15 rows=6157 width=96) (actual time=290.995..1610.928 rows=5394.00 loops=1)
                    Output: n1.n_name, n2.n_name, EXTRACT(year FROM lineitem.l_shipdate), lineitem.l_extendedprice, lineitem.l_discount
                    Hash Cond: (customer.c_nationkey = n2.n_nationkey)
                    Join Filter: (((n1.n_name = 'KENYA'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'KENYA'::bpchar)))
                    Rows Removed by Join Filter: 5418
                    Buffers: shared hit=142499
                    ->  Hash Join  (cost=67293.40..356875.84 rows=147948 width=46) (actual time=290.383..1604.256 rows=137471.00 loops=1)
                          Output: n1.n_name, customer.c_nationkey, lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount
                          Hash Cond: (supplier.s_nationkey = n1.n_nationkey)
                          Buffers: shared hit=142498
                          ->  Hash Join  (cost=67292.00..348459.91 rows=1849345 width=24) (actual time=290.368..1519.289 rows=1828450.00 loops=1)
                                Output: supplier.s_nationkey, customer.c_nationkey, lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount
                                Hash Cond: (lineitem.l_suppkey = supplier.s_suppkey)
                                Buffers: shared hit=142497
                                ->  Hash Join  (cost=66844.00..322583.42 rows=1849345 width=24) (actual time=288.954..1320.933 rows=1828450.00 loops=1)
                                      Output: customer.c_nationkey, lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_suppkey
                                      Hash Cond: (orders.o_custkey = customer.c_custkey)
                                      Buffers: shared hit=142274
                                      ->  Hash Join  (cost=59875.00..290185.92 rows=1849345 width=24) (actual time=267.651..1019.610 rows=1828450.00 loops=1)
                                            Output: lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_suppkey, orders.o_custkey
                                            Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                                            Buffers: shared hit=138680
                                            ->  Seq Scan on public.lineitem  (cost=0.00..202570.75 rows=1849345 width=24) (actual time=0.010..487.422 rows=1828450.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_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))
                                                  Rows Removed by Filter: 4172765
                                                  Buffers: shared hit=112555
                                            ->  Hash  (cost=41125.00..41125.00 rows=1500000 width=8) (actual time=266.269..266.270 rows=1500000.00 loops=1)
                                                  Output: orders.o_orderkey, orders.o_custkey
                                                  Buckets: 2097152  Batches: 1  Memory Usage: 74978kB
                                                  Buffers: shared hit=26125
                                                  ->  Seq Scan on public.orders  (cost=0.00..41125.00 rows=1500000 width=8) (actual time=0.011..88.826 rows=1500000.00 loops=1)
                                                        Output: orders.o_orderkey, orders.o_custkey
                                                        Buffers: shared hit=26125
                                      ->  Hash  (cost=5094.00..5094.00 rows=150000 width=8) (actual time=21.127..21.127 rows=150000.00 loops=1)
                                            Output: customer.c_custkey, customer.c_nationkey
                                            Buckets: 262144  Batches: 1  Memory Usage: 7908kB
                                            Buffers: shared hit=3594
                                            ->  Seq Scan on public.customer  (cost=0.00..5094.00 rows=150000 width=8) (actual time=0.003..12.039 rows=150000.00 loops=1)
                                                  Output: customer.c_custkey, customer.c_nationkey
                                                  Buffers: shared hit=3594
                                ->  Hash  (cost=323.00..323.00 rows=10000 width=8) (actual time=1.397..1.398 rows=10000.00 loops=1)
                                      Output: supplier.s_suppkey, supplier.s_nationkey
                                      Buckets: 16384  Batches: 1  Memory Usage: 519kB
                                      Buffers: shared hit=223
                                      ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.009..0.893 rows=10000.00 loops=1)
                                            Output: supplier.s_suppkey, supplier.s_nationkey
                                            Buffers: shared hit=223
                          ->  Hash  (cost=1.38..1.38 rows=2 width=30) (actual time=0.005..0.006 rows=2.00 loops=1)
                                Output: n1.n_name, n1.n_nationkey
                                Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                Buffers: shared hit=1
                                ->  Seq Scan on public.nation n1  (cost=0.00..1.38 rows=2 width=30) (actual time=0.003..0.004 rows=2.00 loops=1)
                                      Output: n1.n_name, n1.n_nationkey
                                      Filter: ((n1.n_name = 'KENYA'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))
                                      Rows Removed by Filter: 23
                                      Buffers: shared hit=1
                    ->  Hash  (cost=1.38..1.38 rows=2 width=30) (actual time=0.013..0.014 rows=2.00 loops=1)
                          Output: n2.n_name, n2.n_nationkey
                          Buckets: 1024  Batches: 1  Memory Usage: 9kB
                          Buffers: shared hit=1
                          ->  Seq Scan on public.nation n2  (cost=0.00..1.38 rows=2 width=30) (actual time=0.009..0.011 rows=2.00 loops=1)
                                Output: n2.n_name, n2.n_nationkey
                                Filter: ((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'KENYA'::bpchar))
                                Rows Removed by Filter: 23
                                Buffers: shared hit=1
Planning:
  Buffers: shared hit=216
Planning Time: 0.464 ms
Execution Time: 1619.106 ms

--- [ CONFIG: goo_result_size ] ----------------------------------------
Limit  (cost=270343.85..270343.88 rows=1 width=116) (actual time=881.928..881.932 rows=1.00 loops=1)
  Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), (sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))
  Buffers: shared hit=142505
  ->  GroupAggregate  (cost=270343.85..270536.18 rows=5918 width=116) (actual time=881.927..881.931 rows=1.00 loops=1)
        Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))
        Group Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
        Buffers: shared hit=142505
        ->  Sort  (cost=270343.85..270358.64 rows=5918 width=96) (actual time=881.631..881.662 rows=1328.00 loops=1)
              Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), lineitem.l_extendedprice, lineitem.l_discount
              Sort Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
              Sort Method: quicksort  Memory: 656kB
              Buffers: shared hit=142505
              ->  Hash Join  (cost=220559.99..269973.06 rows=5918 width=96) (actual time=624.222..879.824 rows=5394.00 loops=1)
                    Output: n1.n_name, n2.n_name, EXTRACT(year FROM lineitem.l_shipdate), lineitem.l_extendedprice, lineitem.l_discount
                    Hash Cond: ((orders.o_custkey = customer.c_custkey) AND (n2.n_nationkey = customer.c_nationkey))
                    Buffers: shared hit=142499
                    ->  Hash Join  (cost=213215.99..261445.47 rows=147948 width=76) (actual time=601.624..831.712 rows=137471.00 loops=1)
                          Output: orders.o_custkey, lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, n1.n_name, n2.n_name, n2.n_nationkey
                          Hash Cond: (orders.o_orderkey = lineitem.l_orderkey)
                          Buffers: shared hit=138905
                          ->  Seq Scan on public.orders  (cost=0.00..41125.00 rows=1500000 width=8) (actual time=0.013..57.060 rows=1500000.00 loops=1)
                                Output: orders.o_orderkey, orders.o_custkey, orders.o_orderstatus, orders.o_totalprice, orders.o_orderdate, orders.o_orderpriority, orders.o_clerk, orders.o_shippriority, orders.o_comment
                                Buffers: shared hit=26125
                          ->  Hash  (cost=211366.64..211366.64 rows=147948 width=76) (actual time=601.428..601.430 rows=137471.00 loops=1)
                                Output: lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_orderkey, n1.n_name, n2.n_name, n2.n_nationkey
                                Buckets: 262144  Batches: 1  Memory Usage: 16952kB
                                Buffers: shared hit=112780
                                ->  Hash Join  (cost=381.37..211366.64 rows=147948 width=76) (actual time=1.129..572.139 rows=137471.00 loops=1)
                                      Output: lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_orderkey, n1.n_name, n2.n_name, n2.n_nationkey
                                      Hash Cond: (lineitem.l_suppkey = supplier.s_suppkey)
                                      Buffers: shared hit=112780
                                      ->  Seq Scan on public.lineitem  (cost=0.00..202570.75 rows=1849345 width=24) (actual time=0.006..485.729 rows=1828450.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_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))
                                            Rows Removed by Filter: 4172765
                                            Buffers: shared hit=112555
                                      ->  Hash  (cost=371.37..371.37 rows=800 width=60) (actual time=1.118..1.119 rows=756.00 loops=1)
                                            Output: supplier.s_suppkey, n1.n_name, n2.n_name, n2.n_nationkey
                                            Buckets: 1024  Batches: 1  Memory Usage: 76kB
                                            Buffers: shared hit=225
                                            ->  Hash Join  (cost=2.87..371.37 rows=800 width=60) (actual time=0.041..1.062 rows=756.00 loops=1)
                                                  Output: supplier.s_suppkey, n1.n_name, n2.n_name, n2.n_nationkey
                                                  Hash Cond: (supplier.s_nationkey = n1.n_nationkey)
                                                  Buffers: shared hit=225
                                                  ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.011..0.493 rows=10000.00 loops=1)
                                                        Output: supplier.s_suppkey, supplier.s_name, supplier.s_address, supplier.s_nationkey, supplier.s_phone, supplier.s_acctbal, supplier.s_comment
                                                        Buffers: shared hit=223
                                                  ->  Hash  (cost=2.84..2.84 rows=2 width=60) (actual time=0.024..0.025 rows=2.00 loops=1)
                                                        Output: n1.n_name, n1.n_nationkey, n2.n_name, n2.n_nationkey
                                                        Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                                        Buffers: shared hit=2
                                                        ->  Nested Loop  (cost=0.00..2.84 rows=2 width=60) (actual time=0.019..0.023 rows=2.00 loops=1)
                                                              Output: n1.n_name, n1.n_nationkey, n2.n_name, n2.n_nationkey
                                                              Join Filter: (((n1.n_name = 'KENYA'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'KENYA'::bpchar)))
                                                              Rows Removed by Join Filter: 2
                                                              Buffers: shared hit=2
                                                              ->  Seq Scan on public.nation n1  (cost=0.00..1.38 rows=2 width=30) (actual time=0.008..0.010 rows=2.00 loops=1)
                                                                    Output: n1.n_nationkey, n1.n_name, n1.n_regionkey, n1.n_comment
                                                                    Filter: ((n1.n_name = 'KENYA'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))
                                                                    Rows Removed by Filter: 23
                                                                    Buffers: shared hit=1
                                                              ->  Materialize  (cost=0.00..1.39 rows=2 width=30) (actual time=0.004..0.005 rows=2.00 loops=2)
                                                                    Output: n2.n_name, n2.n_nationkey
                                                                    Storage: Memory  Maximum Storage: 17kB
                                                                    Buffers: shared hit=1
                                                                    ->  Seq Scan on public.nation n2  (cost=0.00..1.38 rows=2 width=30) (actual time=0.004..0.006 rows=2.00 loops=1)
                                                                          Output: n2.n_name, n2.n_nationkey
                                                                          Filter: ((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'KENYA'::bpchar))
                                                                          Rows Removed by Filter: 23
                                                                          Buffers: shared hit=1
                    ->  Hash  (cost=5094.00..5094.00 rows=150000 width=8) (actual time=22.269..22.270 rows=150000.00 loops=1)
                          Output: customer.c_custkey, customer.c_nationkey
                          Buckets: 262144  Batches: 1  Memory Usage: 7908kB
                          Buffers: shared hit=3594
                          ->  Seq Scan on public.customer  (cost=0.00..5094.00 rows=150000 width=8) (actual time=0.005..12.319 rows=150000.00 loops=1)
                                Output: customer.c_custkey, customer.c_nationkey
                                Buffers: shared hit=3594
Planning:
  Buffers: shared hit=216
Planning Time: 0.413 ms
Execution Time: 882.691 ms

--- [ CONFIG: goo_cost ] ----------------------------------------
Limit  (cost=581666.86..581666.90 rows=1 width=116) (actual time=2732.385..2732.388 rows=1.00 loops=1)
  Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), (sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))
  Buffers: shared hit=142505
  ->  GroupAggregate  (cost=581666.86..581859.20 rows=5918 width=116) (actual time=2732.384..2732.387 rows=1.00 loops=1)
        Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))
        Group Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
        Buffers: shared hit=142505
        ->  Sort  (cost=581666.86..581681.66 rows=5918 width=96) (actual time=2732.084..2732.115 rows=1328.00 loops=1)
              Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), lineitem.l_extendedprice, lineitem.l_discount
              Sort Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
              Sort Method: quicksort  Memory: 656kB
              Buffers: shared hit=142505
              ->  Hash Join  (cost=193716.85..581296.08 rows=5918 width=96) (actual time=1453.912..2730.194 rows=5394.00 loops=1)
                    Output: n1.n_name, n2.n_name, EXTRACT(year FROM lineitem.l_shipdate), lineitem.l_extendedprice, lineitem.l_discount
                    Hash Cond: ((lineitem.l_suppkey = supplier.s_suppkey) AND (orders.o_custkey = customer.c_custkey))
                    Buffers: shared hit=142499
                    ->  Hash Join  (cost=59875.00..290185.92 rows=1849345 width=24) (actual time=275.386..1082.781 rows=1828450.00 loops=1)
                          Output: lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_suppkey, orders.o_custkey
                          Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                          Buffers: shared hit=138680
                          ->  Seq Scan on public.lineitem  (cost=0.00..202570.75 rows=1849345 width=24) (actual time=0.011..555.414 rows=1828450.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_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))
                                Rows Removed by Filter: 4172765
                                Buffers: shared hit=112555
                          ->  Hash  (cost=41125.00..41125.00 rows=1500000 width=8) (actual time=274.168..274.168 rows=1500000.00 loops=1)
                                Output: orders.o_orderkey, orders.o_custkey
                                Buckets: 2097152  Batches: 1  Memory Usage: 74978kB
                                Buffers: shared hit=26125
                                ->  Seq Scan on public.orders  (cost=0.00..41125.00 rows=1500000 width=8) (actual time=0.005..88.506 rows=1500000.00 loops=1)
                                      Output: orders.o_orderkey, orders.o_custkey
                                      Buffers: shared hit=26125
                    ->  Hash  (cost=61841.85..61841.85 rows=4800000 width=60) (actual time=1171.326..1171.327 rows=4514912.00 loops=1)
                          Output: customer.c_custkey, supplier.s_suppkey, n1.n_name, n2.n_name
                          Buckets: 8388608  Batches: 1  Memory Usage: 471173kB
                          Buffers: shared hit=3819
                          ->  Hash Join  (cost=6969.00..61841.85 rows=4800000 width=60) (actual time=19.352..226.482 rows=4514912.00 loops=1)
                                Output: customer.c_custkey, supplier.s_suppkey, n1.n_name, n2.n_name
                                Hash Cond: (n2.n_nationkey = customer.c_nationkey)
                                Buffers: shared hit=3819
                                ->  Nested Loop  (cost=0.00..625.85 rows=800 width=60) (actual time=0.048..3.648 rows=756.00 loops=1)
                                      Output: supplier.s_suppkey, n1.n_name, n2.n_name, n2.n_nationkey
                                      Join Filter: (supplier.s_nationkey = n1.n_nationkey)
                                      Rows Removed by Join Filter: 19244
                                      Buffers: shared hit=225
                                      ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.022..1.180 rows=10000.00 loops=1)
                                            Output: supplier.s_suppkey, supplier.s_name, supplier.s_address, supplier.s_nationkey, supplier.s_phone, supplier.s_acctbal, supplier.s_comment
                                            Buffers: shared hit=223
                                      ->  Materialize  (cost=0.00..2.85 rows=2 width=60) (actual time=0.000..0.000 rows=2.00 loops=10000)
                                            Output: n1.n_name, n1.n_nationkey, n2.n_name, n2.n_nationkey
                                            Storage: Memory  Maximum Storage: 17kB
                                            Buffers: shared hit=2
                                            ->  Nested Loop  (cost=0.00..2.84 rows=2 width=60) (actual time=0.019..0.022 rows=2.00 loops=1)
                                                  Output: n1.n_name, n1.n_nationkey, n2.n_name, n2.n_nationkey
                                                  Join Filter: (((n1.n_name = 'KENYA'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'KENYA'::bpchar)))
                                                  Rows Removed by Join Filter: 2
                                                  Buffers: shared hit=2
                                                  ->  Seq Scan on public.nation n1  (cost=0.00..1.38 rows=2 width=30) (actual time=0.011..0.012 rows=2.00 loops=1)
                                                        Output: n1.n_nationkey, n1.n_name, n1.n_regionkey, n1.n_comment
                                                        Filter: ((n1.n_name = 'KENYA'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))
                                                        Rows Removed by Filter: 23
                                                        Buffers: shared hit=1
                                                  ->  Materialize  (cost=0.00..1.39 rows=2 width=30) (actual time=0.003..0.004 rows=2.00 loops=2)
                                                        Output: n2.n_name, n2.n_nationkey
                                                        Storage: Memory  Maximum Storage: 17kB
                                                        Buffers: shared hit=1
                                                        ->  Seq Scan on public.nation n2  (cost=0.00..1.38 rows=2 width=30) (actual time=0.002..0.003 rows=2.00 loops=1)
                                                              Output: n2.n_name, n2.n_nationkey
                                                              Filter: ((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'KENYA'::bpchar))
                                                              Rows Removed by Filter: 23
                                                              Buffers: shared hit=1
                                ->  Hash  (cost=5094.00..5094.00 rows=150000 width=8) (actual time=19.145..19.145 rows=150000.00 loops=1)
                                      Output: customer.c_custkey, customer.c_nationkey
                                      Buckets: 262144  Batches: 1  Memory Usage: 7908kB
                                      Buffers: shared hit=3594
                                      ->  Seq Scan on public.customer  (cost=0.00..5094.00 rows=150000 width=8) (actual time=0.004..11.680 rows=150000.00 loops=1)
                                            Output: customer.c_custkey, customer.c_nationkey
                                            Buffers: shared hit=3594
Planning:
  Buffers: shared hit=216
Planning Time: 0.450 ms
Execution Time: 2766.125 ms

--- [ CONFIG: geqo ] ----------------------------------------
Limit  (cost=268392.02..268392.05 rows=1 width=116) (actual time=895.710..895.716 rows=1.00 loops=1)
  Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), (sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount))))
  Buffers: shared hit=142505
  ->  GroupAggregate  (cost=268392.02..268584.35 rows=5918 width=116) (actual time=895.709..895.714 rows=1.00 loops=1)
        Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), sum((lineitem.l_extendedprice * ('1'::numeric - lineitem.l_discount)))
        Group Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
        Buffers: shared hit=142505
        ->  Sort  (cost=268392.02..268406.81 rows=5918 width=96) (actual time=895.394..895.429 rows=1328.00 loops=1)
              Output: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate)), lineitem.l_extendedprice, lineitem.l_discount
              Sort Key: n1.n_name, n2.n_name, (EXTRACT(year FROM lineitem.l_shipdate))
              Sort Method: quicksort  Memory: 656kB
              Buffers: shared hit=142505
              ->  Hash Join  (cost=55852.37..268021.23 rows=5918 width=96) (actual time=194.454..893.165 rows=5394.00 loops=1)
                    Output: n1.n_name, n2.n_name, EXTRACT(year FROM lineitem.l_shipdate), lineitem.l_extendedprice, lineitem.l_discount
                    Hash Cond: ((lineitem.l_suppkey = supplier.s_suppkey) AND (n1.n_nationkey = supplier.s_nationkey))
                    Buffers: shared hit=142499
                    ->  Hash Join  (cost=55379.37..266364.64 rows=147948 width=76) (actual time=192.790..869.712 rows=144140.00 loops=1)
                          Output: n1.n_name, n1.n_nationkey, n2.n_name, lineitem.l_shipdate, lineitem.l_extendedprice, lineitem.l_discount, lineitem.l_suppkey
                          Hash Cond: (lineitem.l_orderkey = orders.o_orderkey)
                          Buffers: shared hit=142276
                          ->  Seq Scan on public.lineitem  (cost=0.00..202570.75 rows=1849345 width=24) (actual time=0.008..500.358 rows=1828450.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_shipdate >= '1995-01-01'::date) AND (lineitem.l_shipdate <= '1996-12-31'::date))
                                Rows Removed by Filter: 4172765
                                Buffers: shared hit=112555
                          ->  Hash  (cost=53879.37..53879.37 rows=120000 width=60) (actual time=192.689..192.692 rows=118646.00 loops=1)
                                Output: n1.n_name, n1.n_nationkey, n2.n_name, orders.o_orderkey
                                Buckets: 131072  Batches: 1  Memory Usage: 12148kB
                                Buffers: shared hit=29721
                                ->  Hash Join  (cost=5929.37..53879.37 rows=120000 width=60) (actual time=17.409..177.107 rows=118646.00 loops=1)
                                      Output: n1.n_name, n1.n_nationkey, n2.n_name, orders.o_orderkey
                                      Hash Cond: (orders.o_custkey = customer.c_custkey)
                                      Buffers: shared hit=29721
                                      ->  Seq Scan on public.orders  (cost=0.00..41125.00 rows=1500000 width=8) (actual time=0.005..59.665 rows=1500000.00 loops=1)
                                            Output: orders.o_orderkey, orders.o_custkey, orders.o_orderstatus, orders.o_totalprice, orders.o_orderdate, orders.o_orderpriority, orders.o_clerk, orders.o_shippriority, orders.o_comment
                                            Buffers: shared hit=26125
                                      ->  Hash  (cost=5779.37..5779.37 rows=12000 width=60) (actual time=17.389..17.392 rows=11944.00 loops=1)
                                            Output: n1.n_name, n1.n_nationkey, n2.n_name, customer.c_custkey
                                            Buckets: 16384  Batches: 1  Memory Usage: 1248kB
                                            Buffers: shared hit=3596
                                            ->  Hash Join  (cost=2.87..5779.37 rows=12000 width=60) (actual time=0.028..16.135 rows=11944.00 loops=1)
                                                  Output: n1.n_name, n1.n_nationkey, n2.n_name, customer.c_custkey
                                                  Hash Cond: (customer.c_nationkey = n2.n_nationkey)
                                                  Buffers: shared hit=3596
                                                  ->  Seq Scan on public.customer  (cost=0.00..5094.00 rows=150000 width=8) (actual time=0.005..7.023 rows=150000.00 loops=1)
                                                        Output: customer.c_custkey, customer.c_name, customer.c_address, customer.c_nationkey, customer.c_phone, customer.c_acctbal, customer.c_mktsegment, customer.c_comment
                                                        Buffers: shared hit=3594
                                                  ->  Hash  (cost=2.84..2.84 rows=2 width=60) (actual time=0.017..0.019 rows=2.00 loops=1)
                                                        Output: n1.n_name, n1.n_nationkey, n2.n_name, n2.n_nationkey
                                                        Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                                        Buffers: shared hit=2
                                                        ->  Nested Loop  (cost=0.00..2.84 rows=2 width=60) (actual time=0.012..0.016 rows=2.00 loops=1)
                                                              Output: n1.n_name, n1.n_nationkey, n2.n_name, n2.n_nationkey
                                                              Join Filter: (((n1.n_name = 'KENYA'::bpchar) AND (n2.n_name = 'ETHIOPIA'::bpchar)) OR ((n1.n_name = 'ETHIOPIA'::bpchar) AND (n2.n_name = 'KENYA'::bpchar)))
                                                              Rows Removed by Join Filter: 2
                                                              Buffers: shared hit=2
                                                              ->  Seq Scan on public.nation n1  (cost=0.00..1.38 rows=2 width=30) (actual time=0.004..0.006 rows=2.00 loops=1)
                                                                    Output: n1.n_nationkey, n1.n_name, n1.n_regionkey, n1.n_comment
                                                                    Filter: ((n1.n_name = 'KENYA'::bpchar) OR (n1.n_name = 'ETHIOPIA'::bpchar))
                                                                    Rows Removed by Filter: 23
                                                                    Buffers: shared hit=1
                                                              ->  Materialize  (cost=0.00..1.39 rows=2 width=30) (actual time=0.003..0.004 rows=2.00 loops=2)
                                                                    Output: n2.n_name, n2.n_nationkey
                                                                    Storage: Memory  Maximum Storage: 17kB
                                                                    Buffers: shared hit=1
                                                                    ->  Seq Scan on public.nation n2  (cost=0.00..1.38 rows=2 width=30) (actual time=0.003..0.005 rows=2.00 loops=1)
                                                                          Output: n2.n_name, n2.n_nationkey
                                                                          Filter: ((n2.n_name = 'ETHIOPIA'::bpchar) OR (n2.n_name = 'KENYA'::bpchar))
                                                                          Rows Removed by Filter: 23
                                                                          Buffers: shared hit=1
                    ->  Hash  (cost=323.00..323.00 rows=10000 width=8) (actual time=1.395..1.395 rows=10000.00 loops=1)
                          Output: supplier.s_suppkey, supplier.s_nationkey
                          Buckets: 16384  Batches: 1  Memory Usage: 519kB
                          Buffers: shared hit=223
                          ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.017..0.878 rows=10000.00 loops=1)
                                Output: supplier.s_suppkey, supplier.s_nationkey
                                Buffers: shared hit=223
Planning:
  Buffers: shared hit=216
Planning Time: 2.565 ms
Execution Time: 896.317 ms
