explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 2P1d

Settings
# exclusive inclusive rows x rows loops node
1. 5.981 144.845 ↑ 5.5 2,809 1

Group (cost=2,051.21..2,206.81 rows=15,460 width=29) (actual time=135.915..144.845 rows=2,809 loops=1)

  • Group Key: platform, publisher_platform, adset_id
2. 126.127 138.864 ↓ 2.3 36,294 1

Sort (cost=2,051.21..2,090.11 rows=15,560 width=29) (actual time=135.913..138.864 rows=36,294 loops=1)

  • Sort Key: platform, publisher_platform, adset_id
  • Sort Method: quicksort Memory: 4372kB
3. 12.737 12.737 ↓ 2.3 36,294 1

Index Only Scan using adset_idx on adsets (cost=0.56..967.80 rows=15,560 width=29) (actual time=0.020..12.737 rows=36,294 loops=1)

  • Index Cond: ((account_id = ANY ('{1595321963838425,1320001405,urn:li:sponsoredAccount:507697540}'::text[])) AND (date >= '2019-05-01 00:00:00'::timestamp without time zone) AND (date <= '20
  • Heap Fetches: 0