explain.depesz.com

PostgreSQL's explain analyze made readable

Result: RoWh

Settings
# exclusive inclusive rows x rows loops node
1. 146.973 125,567.472 ↓ 1.2 441,130 1

Gather (cost=253,856.68..1,712,637.78 rows=371,951 width=8) (actual time=7,299.944..125,567.472 rows=441,130 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
2. 1,458.085 125,420.499 ↑ 1.1 147,043 3

Hash Join (cost=252,856.68..1,674,442.68 rows=154,980 width=8) (actual time=7,028.188..125,420.499 rows=147,043 loops=3)

  • Hash Cond: (f.target_object_id = m.id)
3. 122,812.967 123,298.994 ↑ 1.2 1,642,157 3

Parallel Bitmap Heap Scan on scheduling_flownode f (cost=123,650.64..1,522,262.51 rows=2,049,190 width=8) (actual time=356.071..123,298.994 rows=1,642,157 loops=3)

  • Recheck Cond: (state = 1)
  • Rows Removed by Index Recheck: 44
  • Filter: root_node
  • Rows Removed by Filter: 12406874
  • Heap Blocks: exact=10567 lossy=428667
4. 486.027 486.027 ↓ 1.0 4,926,472 1

Bitmap Index Scan on "root-node-andstate" (cost=0.00..122,421.12 rows=4,918,056 width=0) (actual time=486.027..486.027 rows=4,926,472 loops=1)

  • Index Cond: ((root_node = true) AND (state = 1))
5. 261.555 663.420 ↓ 1.1 441,128 3

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

  • Buckets: 131072 Batches: 8 Memory Usage: 2966kB
6. 371.420 401.865 ↓ 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.585..401.865 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
7. 30.445 30.445 ↓ 1.0 441,132 3

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

  • Index Cond: (state = 4)