explain.depesz.com

PostgreSQL's explain analyze made readable

Result: xQPJ

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

HashAggregate (cost=224.79..231.16 rows=510 width=20) (actual time=0.020..0.020 rows=0 loops=1)

  • Group Key: items.stop_id, (leases.effective_date)::date
2. 0.014 0.019 ↓ 0.0 0 1

Hash Join (cost=21.48..222.24 rows=510 width=20) (actual time=0.019..0.019 rows=0 loops=1)

  • Hash Cond: (items.id = leases.item_id)
3. 0.004 0.004 ↑ 4,270.0 1 1

Seq Scan on items (cost=0.00..167.70 rows=4,270 width=32) (actual time=0.004..0.004 rows=1 loops=1)

4. 0.000 0.001 ↓ 0.0 0 1

Hash (cost=15.10..15.10 rows=510 width=24) (actual time=0.001..0.001 rows=0 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 8kB
5. 0.001 0.001 ↓ 0.0 0 1

Seq Scan on stg_leases leases (cost=0.00..15.10 rows=510 width=24) (actual time=0.001..0.001 rows=0 loops=1)