explain.depesz.com

PostgreSQL's explain analyze made readable

Result: HfTB

Settings
# exclusive inclusive rows x rows loops node
1. 0.007 0.008 ↓ 0.0 0 1

Hash Semi Join (cost=29.75..8,584.23 rows=35 width=269) (actual time=0.008..0.008 rows=0 loops=1)

  • Hash Cond: (forms_historical.id = stg_attribute_values.form_id)
2. 0.000 0.000 ↓ 0.0 0

Seq Scan on forms_historical (cost=13.00..8,237.44 rows=125,098 width=269) (never executed)

  • Filter: (NOT (hashed SubPlan 1))
3.          

SubPlan (for Seq Scan)

4. 0.000 0.000 ↓ 0.0 0

Seq Scan on stg_forms (cost=0.00..12.40 rows=240 width=16) (never executed)

5. 0.000 0.001 ↓ 0.0 0 1

Hash (cost=13.00..13.00 rows=300 width=16) (actual time=0.001..0.001 rows=0 loops=1)

  • Buckets: 1,024 Batches: 1 Memory Usage: 8kB
6. 0.001 0.001 ↓ 0.0 0 1

Seq Scan on stg_attribute_values (cost=0.00..13.00 rows=300 width=16) (actual time=0.001..0.001 rows=0 loops=1)