Limit (cost=16231.61..16231.62 rows=1 width=195) (actual time=44.053..44.115 rows=100 loops=1) -> Sort (cost=16231.61..16231.62 rows=1 width=195) (actual time=44.051..44.109 rows=100 loops=1) Sort Key: supplier.s_acctbal DESC, nation.n_name, supplier.s_name, part.p_partkey Sort Method: top-N heapsort Memory: 69kB -> Nested Loop (cost=1049.43..16231.60 rows=1 width=195) (actual time=0.649..43.628 rows=485 loops=1) Join Filter: (region.r_regionkey = nation.n_regionkey) -> Nested Loop (cost=1049.43..16230.53 rows=1 width=199) (actual time=0.642..42.753 rows=485 loops=1) Join Filter: (nation.n_nationkey = supplier.s_nationkey) Rows Removed by Join Filter: 6381 -> Nested Loop (cost=1049.43..16228.97 rows=1 width=170) (actual time=0.629..41.048 rows=485 loops=1) -> Nested Loop (cost=1049.15..16228.66 rows=1 width=34) (actual time=0.617..39.544 rows=485 loops=1) -> Gather (cost=1000.00..6458.40 rows=804 width=30) (actual time=0.422..10.338 rows=826 loops=1) Workers Planned: 2 Workers Launched: 2 -> Parallel Seq Scan on part (cost=0.00..5378.00 rows=335 width=30) (actual time=0.072..14.345 rows=275 loops=3) Filter: (((p_type)::text ~~ '%STEEL'::text) AND (p_size = 30)) Rows Removed by Filter: 66391 -> Hash Join (cost=49.15..61.23 rows=1 width=8) (actual time=0.034..0.034 rows=1 loops=826) Hash Cond: (partsupp.ps_supplycost = (min(partsupp_1.ps_supplycost))) -> Index Scan using partsupp_pkey on partsupp (cost=0.42..12.50 rows=4 width=14) (actual time=0.004..0.005 rows=4 loops=485) Index Cond: (ps_partkey = part.p_partkey) -> Hash (cost=48.71..48.71 rows=1 width=32) (actual time=0.029..0.029 rows=1 loops=826) Buckets: 1024 Batches: 1 Memory Usage: 9kB -> Aggregate (cost=48.70..48.71 rows=1 width=32) (actual time=0.029..0.029 rows=1 loops=826) -> Nested Loop (cost=0.85..48.70 rows=1 width=6) (actual time=0.022..0.028 rows=1 loops=826) Join Filter: (region_1.r_regionkey = nation_1.n_regionkey) Rows Removed by Join Filter: 3 -> Seq Scan on region region_1 (cost=0.00..1.06 rows=1 width=4) (actual time=0.001..0.002 rows=1 loops=826) Filter: (r_name = 'ASIA'::bpchar) Rows Removed by Filter: 4 -> Nested Loop (cost=0.85..47.58 rows=4 width=10) (actual time=0.010..0.026 rows=4 loops=826) -> Nested Loop (cost=0.71..46.96 rows=4 width=10) (actual time=0.008..0.019 rows=4 loops=826) -> Index Scan using partsupp_pkey on partsupp partsupp_1 (cost=0.42..13.75 rows=4 width=10) (actual time=0.005..0.006 rows=4 loops=826) Index Cond: (ps_partkey = part.p_partkey) -> Index Scan using supplier_pkey on supplier supplier_1 (cost=0.29..8.30 rows=1 width=8) (actual time=0.003..0.003 rows=1 loops=3304) Index Cond: (s_suppkey = partsupp_1.ps_suppkey) -> Index Scan using nation_pkey on nation nation_1 (cost=0.14..0.16 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=3304) Index Cond: (n_nationkey = supplier_1.s_nationkey) -> Index Scan using supplier_pkey on supplier (cost=0.29..0.30 rows=1 width=144) (actual time=0.002..0.002 rows=1 loops=485) Index Cond: (s_suppkey = partsupp.ps_suppkey) -> Seq Scan on nation (cost=0.00..1.25 rows=25 width=37) (actual time=0.001..0.002 rows=14 loops=485) -> Seq Scan on region (cost=0.00..1.06 rows=1 width=4) (actual time=0.001..0.001 rows=1 loops=485) Filter: (r_name = 'ASIA'::bpchar) Rows Removed by Filter: 2 Planning Time: 3.864 ms Execution Time: 44.298 ms