explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Yn6f

Settings
# exclusive inclusive rows x rows loops node
1. 0.001 0.004 ↓ 0.0 0 1

Nested Loop (cost=28.73..85,416.19 rows=524,337 width=574) (actual time=0.004..0.004 rows=0 loops=1)

2. 0.001 0.003 ↓ 0.0 0 1

HashAggregate (cost=14.80..15.95 rows=115 width=40) (actual time=0.003..0.003 rows=0 loops=1)

  • Group Key: stg_forms.stop_id, (timezone(stg_forms.tz, stg_forms.effective_date))::date
3. 0.002 0.002 ↓ 0.0 0 1

Seq Scan on stg_forms (cost=0.00..13.20 rows=320 width=40) (actual time=0.002..0.002 rows=0 loops=1)

4. 0.000 0.000 ↓ 0.0 0

Index Scan using idx_attribute_values_stopid_effectivedate on attribute_values (cost=13.94..741.68 rows=93 width=574) (never executed)

  • Index Cond: ((stop_id = stg_forms.stop_id) AND ((timezone((tz)::text, effective_date))::date = (timezone(stg_forms.tz, stg_forms.effective_date))::date))
  • Filter: (NOT (hashed SubPlan 1))
5.          

SubPlan (for Index Scan)

6. 0.000 0.000 ↓ 0.0 0

Seq Scan on stg_attribute_values (cost=0.00..12.80 rows=280 width=16) (never executed)