explain.depesz.com

PostgreSQL's explain analyze made readable

Result: OVZq

Settings

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 20.363 355.129 ↑ 1.1 10 1

GroupAggregate (cost=0.43..270,007.36 rows=11 width=4) (actual time=134.704..355.129 rows=10 loops=1)

  • Group Key: program_id
2. 334.766 334.766 ↑ 2.6 80,835 1

Index Scan using program_tracking_program_id on program_tracking (cost=0.43..268,972.25 rows=207,001 width=4) (actual time=0.135..334.766 rows=80,835 loops=1)

  • Index Cond: (program_id = ANY ('{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85}'::integer[]))
  • Filter: ((certificate IS NOT NULL) AND (NOT is_filtered))
  • Rows Removed by Filter: 49,335