explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 76v9

Settings
# exclusive inclusive rows x rows loops node
1. 166.917 78,305.315 ↓ 1.2 441,130 1

Gather (cost=130,206.04..1,786,510.81 rows=369,567 width=8) (actual time=2,411.084..78,305.315 rows=441,130 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
2. 1,379.566 78,138.398 ↑ 1.0 147,043 3

Hash Join (cost=129,206.04..1,748,554.11 rows=153,986 width=8) (actual time=2,239.428..78,138.398 rows=147,043 loops=3)

  • Hash Cond: (f.target_object_id = m.id)
3. 76,093.052 76,093.052 ↑ 1.2 1,642,157 3

Parallel Seq Scan on scheduling_flownode f (cost=0.00..1,596,510.42 rows=2,036,058 width=8) (actual time=0.006..76,093.052 rows=1,642,157 loops=3)

  • Filter: (root_node AND (state = 1))
  • Rows Removed by Filter: 12629625
4. 265.645 665.780 ↓ 1.1 441,128 3

Hash (cost=122,549.64..122,549.64 rows=405,712 width=4) (actual time=665.779..665.780 rows=441,128 loops=3)

  • Buckets: 131072 Batches: 8 Memory Usage: 2966kB
5. 368.008 400.135 ↓ 1.1 441,128 3

Bitmap Heap Scan on xact_message m (cost=9,765.56..122,549.64 rows=405,712 width=4) (actual time=35.940..400.135 rows=441,128 loops=3)

  • Recheck Cond: (state = 4)
  • Filter: (templatelanguage_id = ANY ('{17,18,19,20,21,22,23,24}'::integer[]))
  • Rows Removed by Filter: 4
  • Heap Blocks: exact=16585
6. 32.127 32.127 ↓ 1.0 441,132 3

Bitmap Index Scan on test_2 (cost=0.00..9,664.13 rows=421,826 width=0) (actual time=32.127..32.127 rows=441,132 loops=3)

  • Index Cond: (state = 4)
Planning time : 0.674 ms
Execution time : 78,410.086 ms