explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Nnxq

Settings
# exclusive inclusive rows x rows loops node
1. 3.691 560.269 ↑ 3.0 2,807 1

Group (cost=33,447.55..33,532.22 rows=8,437 width=29) (actual time=550.710..560.269 rows=2,807 loops=1)

  • Group Key: platform, publisher_platform, adset_id
2. 131.928 556.578 ↓ 2.6 22,331 1

Sort (cost=33,447.55..33,468.72 rows=8,467 width=29) (actual time=550.707..556.578 rows=22,331 loops=1)

  • Sort Key: platform, publisher_platform, adset_id
  • Sort Method: quicksort Memory: 2513kB
3. 398.660 424.650 ↓ 2.6 22,331 1

Bitmap Heap Scan on adsets (cost=433.63..32,895.18 rows=8,467 width=29) (actual time=40.946..424.650 rows=22,331 loops=1)

  • Recheck Cond: ((account_id = ANY ('{1595321963838425,1320001405,urn:li:sponsoredAccount:507697540}'::text[])) AND (date >= '2019-05-06 00:00:00'::timestamp without time zone) AND (date <= '
  • Heap Blocks: exact=52907
4. 25.990 25.990 ↓ 8.9 75,102 1

Bitmap Index Scan on idx_account_date_adsets (cost=0.00..431.51 rows=8,467 width=0) (actual time=25.990..25.990 rows=75,102 loops=1)

  • Index Cond: ((account_id = ANY ('{1595321963838425,1320001405,urn:li:sponsoredAccount:507697540}'::text[])) AND (date >= '2019-05-06 00:00:00'::timestamp without time zone) AND (date
Planning time : 1.803 ms
Execution time : 560.823 ms