SET
SET
SET
                                                                              QUERY PLAN                                                                               
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Seq Scan on jtemp1c37l3b_baseline_windows_after_inclusion  (cost=0.00..1601719821.59 rows=252622 width=265) (actual time=61.131..8467118.851 rows=138972 loops=1)
   Filter: (SubPlan 1)
   Rows Removed by Filter: 366272
   Buffers: shared hit=624493395
   SubPlan 1
     ->  Subquery Scan on r  (cost=0.00..3170.16 rows=1 width=0) (actual time=16.753..16.753 rows=0 loops=505244)
           Buffers: shared hit=624484208
           ->  Group  (cost=0.00..3170.15 rows=1 width=46) (actual time=16.752..16.752 rows=0 loops=505244)
                 Group Key: jtemp1c37l3b_baseline_windows_with_collections.uuid
                 Buffers: shared hit=624484208
                 ->  Seq Scan on jtemp1c37l3b_baseline_windows_with_collections  (cost=0.00..3170.15 rows=1 width=46) (actual time=16.745..16.745 rows=0 loops=505244)
                       Filter: (jtemp1c37l3b_baseline_windows_after_inclusion.uuid = uuid)
                       Rows Removed by Filter: 119859
                       Buffers: shared hit=624484208
 Planning time: 0.500 ms
 Execution time: 8467193.236 ms
(16 rows)

