explain.depesz.com

PostgreSQL's explain analyze made readable

Result: b7Ra

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

Hash Join (cost=8,664.50..30,586.23 rows=56,508 width=114) (actual rows= loops=)

  • Hash Cond: (prod.prod_id = prod_prc.prod_id)
2. 0.000 0.000 ↓ 0.0

Seq Scan on prod (cost=0.00..13,716.80 rows=354,380 width=18) (actual rows= loops=)

3. 0.000 0.000 ↓ 0.0

Hash (cost=7,130.15..7,130.15 rows=56,508 width=96) (actual rows= loops=)

4. 0.000 0.000 ↓ 0.0

Hash Join (cost=11.35..7,130.15 rows=56,508 width=96) (actual rows= loops=)

  • Hash Cond: (prod_prc.st_id = gnl_st.gnl_st_id)
5. 0.000 0.000 ↓ 0.0

Seq Scan on prod_prc (cost=0.00..5,689.80 rows=230,380 width=103) (actual rows= loops=)

6. 0.000 0.000 ↓ 0.0

Hash (cost=10.37..10.37 rows=78 width=5) (actual rows= loops=)

7. 0.000 0.000 ↓ 0.0

Seq Scan on gnl_st (cost=0.00..10.37 rows=78 width=5) (actual rows= loops=)

  • Filter: ((shrt_code)::text = ANY ('{PNDG_ACTV,ACTV,PNDG_CNCL}'::text[]))