                                                                                                    QUERY PLAN                                                                                      
                 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------
 Limit  (cost=1001.19..495095.84 rows=1 width=27) (actual time=6711.706..6711.707 rows=1 loops=1)
   ->  GroupAggregate  (cost=1001.19..3459663.77 rows=7 width=27) (actual time=6711.705..6711.705 rows=1 loops=1)
         Group Key: lineitem.l_shipmode
         ->  Gather Merge  (cost=1001.19..3449409.24 rows=585969 width=27) (actual time=7.195..6544.246 rows=311095 loops=1)
               Workers Planned: 4
               Workers Launched: 4
               ->  Nested Loop  (cost=1.13..3378614.63 rows=146492 width=27) (actual time=0.243..6614.804 rows=63684 loops=5)
                     ->  Parallel Index Scan using idx_l_shipmode on lineitem  (cost=0.57..3269108.53 rows=146492 width=19) (actual time=0.187..5678.563 rows=63684 loops=5)
                           Index Cond: (l_shipmode = ANY ('{"REG AIR",RAIL}'::bpchar[]))
                           Filter: ((l_commitdate < l_receiptdate) AND (l_shipdate < l_commitdate) AND (l_receiptdate >= '1995-01-01'::date) AND (l_receiptdate < '1996-01-01 00:00:00'::timestamp wit
hout time zone))
                           Rows Removed by Filter: 3444015
                     ->  Index Scan using orders_pkey on orders  (cost=0.56..0.75 rows=1 width=20) (actual time=0.013..0.013 rows=1 loops=318418)
                           Index Cond: (o_orderkey = lineitem.l_orderkey)
 Planning time: 0.536 ms
 Execution time: 6715.327 ms
(15 rows)

