explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 5XCI

Settings
# exclusive inclusive rows x rows loops node
1. 0.006 105.905 ↑ 1.0 1 1

Nested Loop (cost=1,008.60..15,437.08 rows=1 width=78) (actual time=84.577..105.905 rows=1 loops=1)

2. 0.000 105.859 ↑ 1.0 1 1

Nested Loop (cost=1,008.46..15,436.82 rows=1 width=66) (actual time=84.532..105.859 rows=1 loops=1)

3. 0.056 34.614 ↑ 1.0 1 1

Hash Join (cost=8.46..11.96 rows=1 width=54) (actual time=34.573..34.614 rows=1 loops=1)

  • Hash Cond: (e.id = s.id_estratificacao)
4. 0.028 0.028 ↑ 1.0 118 1

Seq Scan on estratificacao e (cost=0.00..3.18 rows=118 width=50) (actual time=0.007..0.028 rows=118 loops=1)

5. 0.020 34.530 ↑ 1.0 1 1

Hash (cost=8.45..8.45 rows=1 width=8) (actual time=34.530..34.530 rows=1 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
6. 34.510 34.510 ↑ 1.0 1 1

Index Scan using saldo_pkey on saldo s (cost=0.43..8.45 rows=1 width=8) (actual time=34.507..34.510 rows=1 loops=1)

  • Index Cond: (id_saldo = 444851)
7. 5.754 73.402 ↑ 1.0 1 1

Gather (cost=1,000.00..15,424.85 rows=1 width=16) (actual time=49.948..73.402 rows=1 loops=1)

  • Workers Planned: 2
  • Workers Launched: 1
8. 67.648 67.648 ↓ 0.0 0 2 / 2

Parallel Seq Scan on saldo_abate sa (cost=0.00..14,424.75 rows=1 width=16) (actual time=57.052..67.648 rows=0 loops=2)

  • Filter: (id_saldo = 444851)
  • Rows Removed by Filter: 560136
9. 0.040 0.040 ↑ 1.0 1 1

Index Scan using pk_especie on especie es (cost=0.14..0.26 rows=1 width=16) (actual time=0.039..0.040 rows=1 loops=1)

  • Index Cond: (id = e.id_especie)