explain.depesz.com

PostgreSQL's explain analyze made readable

Result: C8xX

Settings
# exclusive inclusive rows x rows loops node
1. 24.742 640.318 ↓ 0.0 0 1

Hash Join (cost=67,005.42..69,398.99 rows=11,635 width=8) (actual time=640.318..640.318 rows=0 loops=1)

  • Hash Cond: (ce.task_id = tt.id)
2. 68.409 68.409 ↓ 1.1 40,165 1

Index Scan using cal_event_i04 on cal_event_t ce (cost=0.00..1,851.93 rows=37,803 width=16) (actual time=0.064..68.409 rows=40,165 loops=1)

  • Index Cond: (start_date > '2018-12-03'::date)
3. 94.328 547.167 ↓ 1.2 591,845 1

Hash (cost=60,866.64..60,866.64 rows=491,102 width=4) (actual time=547.167..547.167 rows=591,845 loops=1)

  • Buckets: 65536 Batches: 1 Memory Usage: 20808kB
4. 267.107 452.839 ↓ 1.2 591,845 1

Hash Join (cost=1.17..60,866.64 rows=491,102 width=4) (actual time=0.026..452.839 rows=591,845 loops=1)

  • Hash Cond: (tt.status_id = st.id)
5. 185.726 185.726 ↑ 1.0 1,438,308 1

Seq Scan on om_task_t tt (cost=0.00..52,885.06 rows=1,473,306 width=8) (actual time=0.011..185.726 rows=1,438,308 loops=1)

6. 0.002 0.006 ↑ 1.0 2 1

Hash (cost=1.15..1.15 rows=2 width=8) (actual time=0.006..0.006 rows=2 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 1kB
7. 0.004 0.004 ↑ 1.0 2 1

Seq Scan on fm_status_t st (cost=0.00..1.15 rows=2 width=8) (actual time=0.004..0.004 rows=2 loops=1)

  • Filter: ((code)::text = ANY ('{ORPHAN,CANCEL}'::text[]))
  • Rows Removed by Filter: 10