

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

--- [ CONFIG: dp ] ----------------------------------------
Limit  (cost=59504.56..59504.56 rows=1 width=36) (actual time=200.917..200.921 rows=1.00 loops=1)
  Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
  Buffers: shared hit=17744 read=17739
  InitPlan expr_1
    ->  Aggregate  (cost=29446.04..29446.05 rows=1 width=32) (actual time=68.321..68.323 rows=1.00 loops=1)
          Output: (sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)
          Buffers: shared hit=17740
          ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=10) (actual time=0.819..65.843 rows=30400.00 loops=1)
                Output: partsupp_1.ps_supplycost, partsupp_1.ps_availqty
                Hash Cond: (partsupp_1.ps_suppkey = supplier_1.s_suppkey)
                Buffers: shared hit=17740
                ->  Seq Scan on public.partsupp partsupp_1  (cost=0.00..25516.00 rows=800000 width=14) (actual time=0.008..25.073 rows=800000.00 loops=1)
                      Output: partsupp_1.ps_partkey, partsupp_1.ps_suppkey, partsupp_1.ps_availqty, partsupp_1.ps_supplycost, partsupp_1.ps_comment
                      Buffers: shared hit=17516
                ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=0.799..0.800 rows=380.00 loops=1)
                      Output: supplier_1.s_suppkey
                      Buckets: 1024  Batches: 1  Memory Usage: 22kB
                      Buffers: shared hit=224
                      ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.020..0.781 rows=380.00 loops=1)
                            Output: supplier_1.s_suppkey
                            Hash Cond: (supplier_1.s_nationkey = nation_1.n_nationkey)
                            Buffers: shared hit=224
                            ->  Seq Scan on public.supplier supplier_1  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.003..0.324 rows=10000.00 loops=1)
                                  Output: supplier_1.s_suppkey, supplier_1.s_name, supplier_1.s_address, supplier_1.s_nationkey, supplier_1.s_phone, supplier_1.s_acctbal, supplier_1.s_comment
                                  Buffers: shared hit=223
                            ->  Hash  (cost=1.31..1.31 rows=1 width=4) (actual time=0.011..0.012 rows=1.00 loops=1)
                                  Output: nation_1.n_nationkey
                                  Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                  Buffers: shared hit=1
                                  ->  Seq Scan on public.nation nation_1  (cost=0.00..1.31 rows=1 width=4) (actual time=0.006..0.007 rows=1.00 loops=1)
                                        Output: nation_1.n_nationkey
                                        Filter: (nation_1.n_name = 'ETHIOPIA'::bpchar)
                                        Rows Removed by Filter: 24
                                        Buffers: shared hit=1
  ->  Sort  (cost=30058.51..30085.14 rows=10652 width=36) (actual time=200.916..200.918 rows=1.00 loops=1)
        Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
        Sort Key: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC
        Sort Method: top-N heapsort  Memory: 25kB
        Buffers: shared hit=17744 read=17739
        ->  HashAggregate  (cost=29525.92..30005.25 rows=10652 width=36) (actual time=194.018..200.822 rows=1241.00 loops=1)
              Output: partsupp.ps_partkey, sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))
              Group Key: partsupp.ps_partkey
              Filter: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan expr_1).col1)
              Batches: 1  Memory Usage: 19473kB
              Rows Removed by Filter: 27374
              Buffers: shared hit=17741 read=17739
              ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=14) (actual time=2.666..114.684 rows=30400.00 loops=1)
                    Output: partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_availqty
                    Hash Cond: (partsupp.ps_suppkey = supplier.s_suppkey)
                    Buffers: shared hit=1 read=17739
                    ->  Seq Scan on public.partsupp  (cost=0.00..25516.00 rows=800000 width=18) (actual time=0.240..75.454 rows=800000.00 loops=1)
                          Output: partsupp.ps_partkey, partsupp.ps_suppkey, partsupp.ps_availqty, partsupp.ps_supplycost, partsupp.ps_comment
                          Buffers: shared read=17516
                    ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=2.414..2.415 rows=380.00 loops=1)
                          Output: supplier.s_suppkey
                          Buckets: 1024  Batches: 1  Memory Usage: 22kB
                          Buffers: shared hit=1 read=223
                          ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.272..2.390 rows=380.00 loops=1)
                                Output: supplier.s_suppkey
                                Hash Cond: (supplier.s_nationkey = nation.n_nationkey)
                                Buffers: shared hit=1 read=223
                                ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.229..1.921 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 read=223
                                ->  Hash  (cost=1.31..1.31 rows=1 width=4) (actual time=0.037..0.037 rows=1.00 loops=1)
                                      Output: nation.n_nationkey
                                      Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                      Buffers: shared hit=1
                                      ->  Seq Scan on public.nation  (cost=0.00..1.31 rows=1 width=4) (actual time=0.006..0.007 rows=1.00 loops=1)
                                            Output: nation.n_nationkey
                                            Filter: (nation.n_name = 'ETHIOPIA'::bpchar)
                                            Rows Removed by Filter: 24
                                            Buffers: shared hit=1
Planning:
  Buffers: shared hit=112
Planning Time: 0.521 ms
Execution Time: 201.118 ms

--- [ CONFIG: goo_rows ] ----------------------------------------
Limit  (cost=59504.56..59504.56 rows=1 width=36) (actual time=186.973..186.976 rows=1.00 loops=1)
  Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
  Buffers: shared hit=35483
  InitPlan expr_1
    ->  Aggregate  (cost=29446.04..29446.05 rows=1 width=32) (actual time=83.638..83.640 rows=1.00 loops=1)
          Output: (sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)
          Buffers: shared hit=17740
          ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=10) (actual time=0.792..81.085 rows=30400.00 loops=1)
                Output: partsupp_1.ps_supplycost, partsupp_1.ps_availqty
                Hash Cond: (partsupp_1.ps_suppkey = supplier_1.s_suppkey)
                Buffers: shared hit=17740
                ->  Seq Scan on public.partsupp partsupp_1  (cost=0.00..25516.00 rows=800000 width=14) (actual time=0.009..35.570 rows=800000.00 loops=1)
                      Output: partsupp_1.ps_partkey, partsupp_1.ps_suppkey, partsupp_1.ps_availqty, partsupp_1.ps_supplycost, partsupp_1.ps_comment
                      Buffers: shared hit=17516
                ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=0.774..0.775 rows=380.00 loops=1)
                      Output: supplier_1.s_suppkey
                      Buckets: 1024  Batches: 1  Memory Usage: 22kB
                      Buffers: shared hit=224
                      ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.017..0.756 rows=380.00 loops=1)
                            Output: supplier_1.s_suppkey
                            Hash Cond: (supplier_1.s_nationkey = nation_1.n_nationkey)
                            Buffers: shared hit=224
                            ->  Seq Scan on public.supplier supplier_1  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.003..0.340 rows=10000.00 loops=1)
                                  Output: supplier_1.s_suppkey, supplier_1.s_name, supplier_1.s_address, supplier_1.s_nationkey, supplier_1.s_phone, supplier_1.s_acctbal, supplier_1.s_comment
                                  Buffers: shared hit=223
                            ->  Hash  (cost=1.31..1.31 rows=1 width=4) (actual time=0.009..0.009 rows=1.00 loops=1)
                                  Output: nation_1.n_nationkey
                                  Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                  Buffers: shared hit=1
                                  ->  Seq Scan on public.nation nation_1  (cost=0.00..1.31 rows=1 width=4) (actual time=0.005..0.006 rows=1.00 loops=1)
                                        Output: nation_1.n_nationkey
                                        Filter: (nation_1.n_name = 'ETHIOPIA'::bpchar)
                                        Rows Removed by Filter: 24
                                        Buffers: shared hit=1
  ->  Sort  (cost=30058.51..30085.14 rows=10652 width=36) (actual time=186.972..186.973 rows=1.00 loops=1)
        Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
        Sort Key: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC
        Sort Method: top-N heapsort  Memory: 25kB
        Buffers: shared hit=35483
        ->  HashAggregate  (cost=29525.92..30005.25 rows=10652 width=36) (actual time=180.784..186.878 rows=1241.00 loops=1)
              Output: partsupp.ps_partkey, sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))
              Group Key: partsupp.ps_partkey
              Filter: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan expr_1).col1)
              Batches: 1  Memory Usage: 19473kB
              Rows Removed by Filter: 27374
              Buffers: shared hit=35480
              ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=14) (actual time=1.290..88.932 rows=30400.00 loops=1)
                    Output: partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_availqty
                    Hash Cond: (partsupp.ps_suppkey = supplier.s_suppkey)
                    Buffers: shared hit=17740
                    ->  Seq Scan on public.partsupp  (cost=0.00..25516.00 rows=800000 width=18) (actual time=0.013..42.277 rows=800000.00 loops=1)
                          Output: partsupp.ps_partkey, partsupp.ps_suppkey, partsupp.ps_availqty, partsupp.ps_supplycost, partsupp.ps_comment
                          Buffers: shared hit=17516
                    ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=1.271..1.272 rows=380.00 loops=1)
                          Output: supplier.s_suppkey
                          Buckets: 1024  Batches: 1  Memory Usage: 22kB
                          Buffers: shared hit=224
                          ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.020..1.252 rows=380.00 loops=1)
                                Output: supplier.s_suppkey
                                Hash Cond: (supplier.s_nationkey = nation.n_nationkey)
                                Buffers: shared hit=224
                                ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.006..0.750 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.31..1.31 rows=1 width=4) (actual time=0.008..0.008 rows=1.00 loops=1)
                                      Output: nation.n_nationkey
                                      Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                      Buffers: shared hit=1
                                      ->  Seq Scan on public.nation  (cost=0.00..1.31 rows=1 width=4) (actual time=0.005..0.006 rows=1.00 loops=1)
                                            Output: nation.n_nationkey
                                            Filter: (nation.n_name = 'ETHIOPIA'::bpchar)
                                            Rows Removed by Filter: 24
                                            Buffers: shared hit=1
Planning:
  Buffers: shared hit=112
Planning Time: 0.345 ms
Execution Time: 187.459 ms

--- [ CONFIG: goo_selectivity ] ----------------------------------------
Limit  (cost=81630.82..81630.82 rows=1 width=36) (actual time=322.537..322.541 rows=1.00 loops=1)
  Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
  Buffers: shared hit=35483
  InitPlan expr_1
    ->  Aggregate  (cost=40509.17..40509.18 rows=1 width=32) (actual time=153.475..153.477 rows=1.00 loops=1)
          Output: (sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)
          Buffers: shared hit=17740
          ->  Hash Join  (cost=449.32..40269.50 rows=31955 width=10) (actual time=1.191..150.846 rows=30400.00 loops=1)
                Output: partsupp_1.ps_supplycost, partsupp_1.ps_availqty
                Hash Cond: (supplier_1.s_nationkey = nation_1.n_nationkey)
                Buffers: shared hit=17740
                ->  Hash Join  (cost=448.00..36952.82 rows=798882 width=14) (actual time=1.160..125.051 rows=800000.00 loops=1)
                      Output: partsupp_1.ps_supplycost, partsupp_1.ps_availqty, supplier_1.s_nationkey
                      Hash Cond: (partsupp_1.ps_suppkey = supplier_1.s_suppkey)
                      Buffers: shared hit=17739
                      ->  Seq Scan on public.partsupp partsupp_1  (cost=0.00..25516.00 rows=800000 width=14) (actual time=0.002..36.835 rows=800000.00 loops=1)
                            Output: partsupp_1.ps_partkey, partsupp_1.ps_suppkey, partsupp_1.ps_availqty, partsupp_1.ps_supplycost, partsupp_1.ps_comment
                            Buffers: shared hit=17516
                      ->  Hash  (cost=323.00..323.00 rows=10000 width=8) (actual time=1.142..1.143 rows=10000.00 loops=1)
                            Output: supplier_1.s_suppkey, supplier_1.s_nationkey
                            Buckets: 16384  Batches: 1  Memory Usage: 519kB
                            Buffers: shared hit=223
                            ->  Seq Scan on public.supplier supplier_1  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.003..0.621 rows=10000.00 loops=1)
                                  Output: supplier_1.s_suppkey, supplier_1.s_nationkey
                                  Buffers: shared hit=223
                ->  Hash  (cost=1.31..1.31 rows=1 width=4) (actual time=0.021..0.021 rows=1.00 loops=1)
                      Output: nation_1.n_nationkey
                      Buckets: 1024  Batches: 1  Memory Usage: 9kB
                      Buffers: shared hit=1
                      ->  Seq Scan on public.nation nation_1  (cost=0.00..1.31 rows=1 width=4) (actual time=0.016..0.018 rows=1.00 loops=1)
                            Output: nation_1.n_nationkey
                            Filter: (nation_1.n_name = 'ETHIOPIA'::bpchar)
                            Rows Removed by Filter: 24
                            Buffers: shared hit=1
  ->  Sort  (cost=41121.64..41148.27 rows=10652 width=36) (actual time=322.536..322.538 rows=1.00 loops=1)
        Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
        Sort Key: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC
        Sort Method: top-N heapsort  Memory: 25kB
        Buffers: shared hit=35483
        ->  HashAggregate  (cost=40589.05..41068.38 rows=10652 width=36) (actual time=316.402..322.430 rows=1241.00 loops=1)
              Output: partsupp.ps_partkey, sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))
              Group Key: partsupp.ps_partkey
              Filter: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan expr_1).col1)
              Batches: 1  Memory Usage: 19473kB
              Rows Removed by Filter: 27374
              Buffers: shared hit=35480
              ->  Hash Join  (cost=449.32..40269.50 rows=31955 width=14) (actual time=1.483..154.066 rows=30400.00 loops=1)
                    Output: partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_availqty
                    Hash Cond: (supplier.s_nationkey = nation.n_nationkey)
                    Buffers: shared hit=17740
                    ->  Hash Join  (cost=448.00..36952.82 rows=798882 width=18) (actual time=1.465..128.203 rows=800000.00 loops=1)
                          Output: partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_availqty, supplier.s_nationkey
                          Hash Cond: (partsupp.ps_suppkey = supplier.s_suppkey)
                          Buffers: shared hit=17739
                          ->  Seq Scan on public.partsupp  (cost=0.00..25516.00 rows=800000 width=18) (actual time=0.008..36.865 rows=800000.00 loops=1)
                                Output: partsupp.ps_partkey, partsupp.ps_suppkey, partsupp.ps_availqty, partsupp.ps_supplycost, partsupp.ps_comment
                                Buffers: shared hit=17516
                          ->  Hash  (cost=323.00..323.00 rows=10000 width=8) (actual time=1.443..1.443 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.006..0.922 rows=10000.00 loops=1)
                                      Output: supplier.s_suppkey, supplier.s_nationkey
                                      Buffers: shared hit=223
                    ->  Hash  (cost=1.31..1.31 rows=1 width=4) (actual time=0.013..0.013 rows=1.00 loops=1)
                          Output: nation.n_nationkey
                          Buckets: 1024  Batches: 1  Memory Usage: 9kB
                          Buffers: shared hit=1
                          ->  Seq Scan on public.nation  (cost=0.00..1.31 rows=1 width=4) (actual time=0.009..0.010 rows=1.00 loops=1)
                                Output: nation.n_nationkey
                                Filter: (nation.n_name = 'ETHIOPIA'::bpchar)
                                Rows Removed by Filter: 24
                                Buffers: shared hit=1
Planning:
  Buffers: shared hit=112
Planning Time: 0.317 ms
Execution Time: 322.778 ms

--- [ CONFIG: goo_result_size ] ----------------------------------------
Limit  (cost=59504.56..59504.56 rows=1 width=36) (actual time=188.892..188.898 rows=1.00 loops=1)
  Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
  Buffers: shared hit=35483
  InitPlan expr_1
    ->  Aggregate  (cost=29446.04..29446.05 rows=1 width=32) (actual time=85.147..85.149 rows=1.00 loops=1)
          Output: (sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)
          Buffers: shared hit=17740
          ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=10) (actual time=0.838..82.662 rows=30400.00 loops=1)
                Output: partsupp_1.ps_supplycost, partsupp_1.ps_availqty
                Hash Cond: (partsupp_1.ps_suppkey = supplier_1.s_suppkey)
                Buffers: shared hit=17740
                ->  Seq Scan on public.partsupp partsupp_1  (cost=0.00..25516.00 rows=800000 width=14) (actual time=0.009..37.173 rows=800000.00 loops=1)
                      Output: partsupp_1.ps_partkey, partsupp_1.ps_suppkey, partsupp_1.ps_availqty, partsupp_1.ps_supplycost, partsupp_1.ps_comment
                      Buffers: shared hit=17516
                ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=0.816..0.818 rows=380.00 loops=1)
                      Output: supplier_1.s_suppkey
                      Buckets: 1024  Batches: 1  Memory Usage: 22kB
                      Buffers: shared hit=224
                      ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.017..0.798 rows=380.00 loops=1)
                            Output: supplier_1.s_suppkey
                            Hash Cond: (supplier_1.s_nationkey = nation_1.n_nationkey)
                            Buffers: shared hit=224
                            ->  Seq Scan on public.supplier supplier_1  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.003..0.386 rows=10000.00 loops=1)
                                  Output: supplier_1.s_suppkey, supplier_1.s_name, supplier_1.s_address, supplier_1.s_nationkey, supplier_1.s_phone, supplier_1.s_acctbal, supplier_1.s_comment
                                  Buffers: shared hit=223
                            ->  Hash  (cost=1.31..1.31 rows=1 width=4) (actual time=0.009..0.009 rows=1.00 loops=1)
                                  Output: nation_1.n_nationkey
                                  Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                  Buffers: shared hit=1
                                  ->  Seq Scan on public.nation nation_1  (cost=0.00..1.31 rows=1 width=4) (actual time=0.005..0.006 rows=1.00 loops=1)
                                        Output: nation_1.n_nationkey
                                        Filter: (nation_1.n_name = 'ETHIOPIA'::bpchar)
                                        Rows Removed by Filter: 24
                                        Buffers: shared hit=1
  ->  Sort  (cost=30058.51..30085.14 rows=10652 width=36) (actual time=188.889..188.893 rows=1.00 loops=1)
        Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
        Sort Key: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC
        Sort Method: top-N heapsort  Memory: 25kB
        Buffers: shared hit=35483
        ->  HashAggregate  (cost=29525.92..30005.25 rows=10652 width=36) (actual time=182.239..188.797 rows=1241.00 loops=1)
              Output: partsupp.ps_partkey, sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))
              Group Key: partsupp.ps_partkey
              Filter: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan expr_1).col1)
              Batches: 1  Memory Usage: 19473kB
              Rows Removed by Filter: 27374
              Buffers: shared hit=35480
              ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=14) (actual time=1.366..88.482 rows=30400.00 loops=1)
                    Output: partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_availqty
                    Hash Cond: (partsupp.ps_suppkey = supplier.s_suppkey)
                    Buffers: shared hit=17740
                    ->  Seq Scan on public.partsupp  (cost=0.00..25516.00 rows=800000 width=18) (actual time=0.014..42.393 rows=800000.00 loops=1)
                          Output: partsupp.ps_partkey, partsupp.ps_suppkey, partsupp.ps_availqty, partsupp.ps_supplycost, partsupp.ps_comment
                          Buffers: shared hit=17516
                    ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=1.347..1.351 rows=380.00 loops=1)
                          Output: supplier.s_suppkey
                          Buckets: 1024  Batches: 1  Memory Usage: 22kB
                          Buffers: shared hit=224
                          ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.036..1.330 rows=380.00 loops=1)
                                Output: supplier.s_suppkey
                                Hash Cond: (supplier.s_nationkey = nation.n_nationkey)
                                Buffers: shared hit=224
                                ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.007..0.791 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.31..1.31 rows=1 width=4) (actual time=0.024..0.025 rows=1.00 loops=1)
                                      Output: nation.n_nationkey
                                      Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                      Buffers: shared hit=1
                                      ->  Seq Scan on public.nation  (cost=0.00..1.31 rows=1 width=4) (actual time=0.008..0.009 rows=1.00 loops=1)
                                            Output: nation.n_nationkey
                                            Filter: (nation.n_name = 'ETHIOPIA'::bpchar)
                                            Rows Removed by Filter: 24
                                            Buffers: shared hit=1
Planning:
  Buffers: shared hit=112
Planning Time: 0.378 ms
Execution Time: 189.443 ms

--- [ CONFIG: goo_cost ] ----------------------------------------
Limit  (cost=59504.56..59504.56 rows=1 width=36) (actual time=180.949..180.952 rows=1.00 loops=1)
  Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
  Buffers: shared hit=35483
  InitPlan expr_1
    ->  Aggregate  (cost=29446.04..29446.05 rows=1 width=32) (actual time=84.204..84.206 rows=1.00 loops=1)
          Output: (sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)
          Buffers: shared hit=17740
          ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=10) (actual time=0.828..81.696 rows=30400.00 loops=1)
                Output: partsupp_1.ps_supplycost, partsupp_1.ps_availqty
                Hash Cond: (partsupp_1.ps_suppkey = supplier_1.s_suppkey)
                Buffers: shared hit=17740
                ->  Seq Scan on public.partsupp partsupp_1  (cost=0.00..25516.00 rows=800000 width=14) (actual time=0.010..35.920 rows=800000.00 loops=1)
                      Output: partsupp_1.ps_partkey, partsupp_1.ps_suppkey, partsupp_1.ps_availqty, partsupp_1.ps_supplycost, partsupp_1.ps_comment
                      Buffers: shared hit=17516
                ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=0.799..0.800 rows=380.00 loops=1)
                      Output: supplier_1.s_suppkey
                      Buckets: 1024  Batches: 1  Memory Usage: 22kB
                      Buffers: shared hit=224
                      ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.019..0.780 rows=380.00 loops=1)
                            Output: supplier_1.s_suppkey
                            Hash Cond: (supplier_1.s_nationkey = nation_1.n_nationkey)
                            Buffers: shared hit=224
                            ->  Seq Scan on public.supplier supplier_1  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.003..0.339 rows=10000.00 loops=1)
                                  Output: supplier_1.s_suppkey, supplier_1.s_name, supplier_1.s_address, supplier_1.s_nationkey, supplier_1.s_phone, supplier_1.s_acctbal, supplier_1.s_comment
                                  Buffers: shared hit=223
                            ->  Hash  (cost=1.31..1.31 rows=1 width=4) (actual time=0.011..0.012 rows=1.00 loops=1)
                                  Output: nation_1.n_nationkey
                                  Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                  Buffers: shared hit=1
                                  ->  Seq Scan on public.nation nation_1  (cost=0.00..1.31 rows=1 width=4) (actual time=0.005..0.007 rows=1.00 loops=1)
                                        Output: nation_1.n_nationkey
                                        Filter: (nation_1.n_name = 'ETHIOPIA'::bpchar)
                                        Rows Removed by Filter: 24
                                        Buffers: shared hit=1
  ->  Sort  (cost=30058.51..30085.14 rows=10652 width=36) (actual time=180.948..180.949 rows=1.00 loops=1)
        Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
        Sort Key: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC
        Sort Method: top-N heapsort  Memory: 25kB
        Buffers: shared hit=35483
        ->  HashAggregate  (cost=29525.92..30005.25 rows=10652 width=36) (actual time=174.637..180.855 rows=1241.00 loops=1)
              Output: partsupp.ps_partkey, sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))
              Group Key: partsupp.ps_partkey
              Filter: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan expr_1).col1)
              Batches: 1  Memory Usage: 19473kB
              Rows Removed by Filter: 27374
              Buffers: shared hit=35480
              ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=14) (actual time=1.131..82.237 rows=30400.00 loops=1)
                    Output: partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_availqty
                    Hash Cond: (partsupp.ps_suppkey = supplier.s_suppkey)
                    Buffers: shared hit=17740
                    ->  Seq Scan on public.partsupp  (cost=0.00..25516.00 rows=800000 width=18) (actual time=0.012..35.602 rows=800000.00 loops=1)
                          Output: partsupp.ps_partkey, partsupp.ps_suppkey, partsupp.ps_availqty, partsupp.ps_supplycost, partsupp.ps_comment
                          Buffers: shared hit=17516
                    ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=1.114..1.115 rows=380.00 loops=1)
                          Output: supplier.s_suppkey
                          Buckets: 1024  Batches: 1  Memory Usage: 22kB
                          Buffers: shared hit=224
                          ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.020..1.095 rows=380.00 loops=1)
                                Output: supplier.s_suppkey
                                Hash Cond: (supplier.s_nationkey = nation.n_nationkey)
                                Buffers: shared hit=224
                                ->  Seq Scan on public.supplier  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.007..0.582 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.31..1.31 rows=1 width=4) (actual time=0.009..0.009 rows=1.00 loops=1)
                                      Output: nation.n_nationkey
                                      Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                      Buffers: shared hit=1
                                      ->  Seq Scan on public.nation  (cost=0.00..1.31 rows=1 width=4) (actual time=0.005..0.006 rows=1.00 loops=1)
                                            Output: nation.n_nationkey
                                            Filter: (nation.n_name = 'ETHIOPIA'::bpchar)
                                            Rows Removed by Filter: 24
                                            Buffers: shared hit=1
Planning:
  Buffers: shared hit=112
Planning Time: 0.310 ms
Execution Time: 181.116 ms

--- [ CONFIG: geqo ] ----------------------------------------
Limit  (cost=59504.56..59504.56 rows=1 width=36) (actual time=188.331..188.335 rows=1.00 loops=1)
  Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
  Buffers: shared hit=35483
  InitPlan expr_1
    ->  Aggregate  (cost=29446.04..29446.05 rows=1 width=32) (actual time=83.136..83.138 rows=1.00 loops=1)
          Output: (sum((partsupp_1.ps_supplycost * (partsupp_1.ps_availqty)::numeric)) * 0.0001000000)
          Buffers: shared hit=17740
          ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=10) (actual time=0.794..80.625 rows=30400.00 loops=1)
                Output: partsupp_1.ps_supplycost, partsupp_1.ps_availqty
                Hash Cond: (partsupp_1.ps_suppkey = supplier_1.s_suppkey)
                Buffers: shared hit=17740
                ->  Seq Scan on public.partsupp partsupp_1  (cost=0.00..25516.00 rows=800000 width=14) (actual time=0.013..34.790 rows=800000.00 loops=1)
                      Output: partsupp_1.ps_partkey, partsupp_1.ps_suppkey, partsupp_1.ps_availqty, partsupp_1.ps_supplycost, partsupp_1.ps_comment
                      Buffers: shared hit=17516
                ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=0.763..0.764 rows=380.00 loops=1)
                      Output: supplier_1.s_suppkey
                      Buckets: 1024  Batches: 1  Memory Usage: 22kB
                      Buffers: shared hit=224
                      ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.018..0.744 rows=380.00 loops=1)
                            Output: supplier_1.s_suppkey
                            Hash Cond: (supplier_1.s_nationkey = nation_1.n_nationkey)
                            Buffers: shared hit=224
                            ->  Seq Scan on public.supplier supplier_1  (cost=0.00..323.00 rows=10000 width=8) (actual time=0.003..0.310 rows=10000.00 loops=1)
                                  Output: supplier_1.s_suppkey, supplier_1.s_name, supplier_1.s_address, supplier_1.s_nationkey, supplier_1.s_phone, supplier_1.s_acctbal, supplier_1.s_comment
                                  Buffers: shared hit=223
                            ->  Hash  (cost=1.31..1.31 rows=1 width=4) (actual time=0.010..0.010 rows=1.00 loops=1)
                                  Output: nation_1.n_nationkey
                                  Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                  Buffers: shared hit=1
                                  ->  Seq Scan on public.nation nation_1  (cost=0.00..1.31 rows=1 width=4) (actual time=0.005..0.007 rows=1.00 loops=1)
                                        Output: nation_1.n_nationkey
                                        Filter: (nation_1.n_name = 'ETHIOPIA'::bpchar)
                                        Rows Removed by Filter: 24
                                        Buffers: shared hit=1
  ->  Sort  (cost=30058.51..30085.14 rows=10652 width=36) (actual time=188.330..188.331 rows=1.00 loops=1)
        Output: partsupp.ps_partkey, (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)))
        Sort Key: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))) DESC
        Sort Method: top-N heapsort  Memory: 25kB
        Buffers: shared hit=35483
        ->  HashAggregate  (cost=29525.92..30005.25 rows=10652 width=36) (actual time=182.148..188.229 rows=1241.00 loops=1)
              Output: partsupp.ps_partkey, sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric))
              Group Key: partsupp.ps_partkey
              Filter: (sum((partsupp.ps_supplycost * (partsupp.ps_availqty)::numeric)) > (InitPlan expr_1).col1)
              Batches: 1  Memory Usage: 19473kB
              Rows Removed by Filter: 27374
              Buffers: shared hit=35480
              ->  Hash Join  (cost=370.82..29206.38 rows=31955 width=14) (actual time=1.308..90.414 rows=30400.00 loops=1)
                    Output: partsupp.ps_partkey, partsupp.ps_supplycost, partsupp.ps_availqty
                    Hash Cond: (partsupp.ps_suppkey = supplier.s_suppkey)
                    Buffers: shared hit=17740
                    ->  Seq Scan on public.partsupp  (cost=0.00..25516.00 rows=800000 width=18) (actual time=0.011..43.817 rows=800000.00 loops=1)
                          Output: partsupp.ps_partkey, partsupp.ps_suppkey, partsupp.ps_availqty, partsupp.ps_supplycost, partsupp.ps_comment
                          Buffers: shared hit=17516
                    ->  Hash  (cost=365.82..365.82 rows=400 width=4) (actual time=1.292..1.293 rows=380.00 loops=1)
                          Output: supplier.s_suppkey
                          Buckets: 1024  Batches: 1  Memory Usage: 22kB
                          Buffers: shared hit=224
                          ->  Hash Join  (cost=1.32..365.82 rows=400 width=4) (actual time=0.024..1.272 rows=380.00 loops=1)
                                Output: supplier.s_suppkey
                                Hash Cond: (supplier.s_nationkey = nation.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.755 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.31..1.31 rows=1 width=4) (actual time=0.009..0.009 rows=1.00 loops=1)
                                      Output: nation.n_nationkey
                                      Buckets: 1024  Batches: 1  Memory Usage: 9kB
                                      Buffers: shared hit=1
                                      ->  Seq Scan on public.nation  (cost=0.00..1.31 rows=1 width=4) (actual time=0.005..0.006 rows=1.00 loops=1)
                                            Output: nation.n_nationkey
                                            Filter: (nation.n_name = 'ETHIOPIA'::bpchar)
                                            Rows Removed by Filter: 24
                                            Buffers: shared hit=1
Planning:
  Buffers: shared hit=112
Planning Time: 0.880 ms
Execution Time: 188.687 ms
