explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 3UHd

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

Delete on pesagem pe (cost=109,556.33..2,150,119.80 rows=1 width=18) (actual rows= loops=)

2. 0.000 0.000 ↓ 0.0

Nested Loop Anti Join (cost=109,556.33..2,150,119.80 rows=1 width=18) (actual rows= loops=)

  • Join Filter: (pe.id = pei.pesagem)
3. 0.000 0.000 ↓ 0.0

Hash Anti Join (cost=109,556.33..217,951.42 rows=1 width=20) (actual rows= loops=)

  • Hash Cond: (pe.id = pa.pesagem)
4. 0.000 0.000 ↓ 0.0

Seq Scan on pesagem pe (cost=0.00..54,893.21 rows=2,559,821 width=14) (actual rows= loops=)

5. 0.000 0.000 ↓ 0.0

Hash (cost=65,047.59..65,047.59 rows=2,560,459 width=14) (actual rows= loops=)

6. 0.000 0.000 ↓ 0.0

Seq Scan on passagem pa (cost=0.00..65,047.59 rows=2,560,459 width=14) (actual rows= loops=)

7. 0.000 0.000 ↓ 0.0

Seq Scan on pesagem_eixo pei (cost=0.00..1,290,899.28 rows=51,301,528 width=14) (actual rows= loops=)