explain.depesz.com

PostgreSQL's explain analyze made readable

Result: ZSsQ

Settings
# exclusive inclusive rows x rows loops node
1. 0.000 0.000 ↓ 0.0

HashAggregate (cost=6,777.53..6,788.53 rows=1,100 width=26) (actual rows= loops=)

  • Group Key: item.item_id
2. 0.000 0.000 ↓ 0.0

Hash Right Join (cost=31.75..5,527.53 rows=250,000 width=26) (actual rows= loops=)

  • Hash Cond: (store.item_id = item.item_id)
3. 0.000 0.000 ↓ 0.0

Seq Scan on store (cost=0.00..4,837.00 rows=250,000 width=16) (actual rows= loops=)

4. 0.000 0.000 ↓ 0.0

Hash (cost=18.00..18.00 rows=1,100 width=18) (actual rows= loops=)

5. 0.000 0.000 ↓ 0.0

Seq Scan on item (cost=0.00..18.00 rows=1,100 width=18) (actual rows= loops=)