explain.depesz.com

PostgreSQL's explain analyze made readable

Result: dNp1 : Optimization for: plan #OVZq

Settings

Optimization path:

# exclusive inclusive rows x rows loops node
1. 22.166 58.235 ↑ 1.1 10 1

GroupAggregate (cost=0.43..123,588.20 rows=11 width=4) (actual time=2.066..58.235 rows=10 loops=1)

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

Index Scan using program_tracking_certificate_is_filtered_program_id on program_tracking (cost=0.43..122,553.51 rows=206,915 width=4) (actual time=0.101..36.069 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[]))