explain.depesz.com

PostgreSQL's explain analyze made readable

Result: TKBo

Settings
# exclusive inclusive rows x rows loops node
1. 59.217 490.478 ↓ 0.0 0 1

Hash Join (cost=62,134.01..65,328.72 rows=4,790 width=8) (actual time=490.478..490.478 rows=0 loops=1)

  • Hash Cond: (ce.task_id = tt.id)
2. 12.019 12.019 ↓ 1.1 32,841 1

Index Scan using cal_event_i04 on cal_event_t ce (cost=0.00..1,703.27 rows=31,138 width=16) (actual time=0.012..12.019 rows=32,841 loops=1)

  • Index Cond: (start_date > '2018-12-03'::date)
3. 75.760 419.242 ↓ 2.5 587,230 1

Hash (cost=58,338.96..58,338.96 rows=231,284 width=4) (actual time=419.242..419.242 rows=587,230 loops=1)

  • Buckets: 4096 Batches: 32 (originally 16) Memory Usage: 1025kB
4. 186.170 343.482 ↓ 2.5 587,230 1

Hash Join (cost=1.17..58,338.96 rows=231,284 width=4) (actual time=0.037..343.482 rows=587,230 loops=1)

  • Hash Cond: (tt.status_id = st.id)
5. 157.306 157.306 ↑ 1.0 1,387,705 1

Seq Scan on om_task_t tt (cost=0.00..50,821.05 rows=1,387,705 width=8) (actual time=0.023..157.306 rows=1,387,705 loops=1)

6. 0.001 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.005 0.005 ↑ 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.005 rows=2 loops=1)

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