explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 7VQm

Settings
# exclusive inclusive rows x rows loops node
1. 6.112 139.694 ↑ 5.5 2,809 1

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

  • Group Key: platform, publisher_platform, adset_id
2. 121.520 133.582 ↓ 2.3 36,294 1

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

  • Sort Key: platform, publisher_platform, adset_id
  • Sort Method: quicksort Memory: 4372kB
3. 12.062 12.062 ↓ 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.023..12.062 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