explain.depesz.com

PostgreSQL's explain analyze made readable

Result: IY7X : Optimization for: Optimization for: plan #UNUM; plan #YylD

Settings

Optimization path:

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

Limit (cost=32.33..32.38 rows=1 width=215) (actual time=454.034..454.034 rows=0 loops=1)

2. 0.000 454.033 ↓ 0.0 0 1

Unique (cost=32.33..32.38 rows=1 width=215) (actual time=454.033..454.033 rows=0 loops=1)

3. 0.019 454.033 ↓ 0.0 0 1

Sort (cost=32.33..32.33 rows=1 width=215) (actual time=454.033..454.033 rows=0 loops=1)

  • Sort Key: ricevutaap0_.id DESC, banca5_.abi, ente4_.codente, ipa3_.codice_ipa, ricevutaap0_.data_esito, ipaconfigs7_.utenza_a_2_a, ricevutaap0_.ricevuta_zip_id, ricevutaap0_.identificativo_flusso_bt, ricevutaap0_.esito, ricevutaap0_.stato_easysiope, ricevutaap0_.esercizio, versioneor1_.numero_ordinativo, versioneor1_.tipo_ordinativo, ricevutaap0_.numerosub, banca5_.descrizione, versioneor1_.id, ricevutaap0_.data_ultimo_aggiornamento, ricevutaac8_.id_connettore
  • Sort Method: quicksort Memory: 25kB
4. 0.001 454.014 ↓ 0.0 0 1

Nested Loop (cost=0.84..32.32 rows=1 width=215) (actual time=454.014..454.014 rows=0 loops=1)

5. 0.000 454.013 ↓ 0.0 0 1

Nested Loop (cost=0.56..24.02 rows=1 width=151) (actual time=454.013..454.013 rows=0 loops=1)

  • Join Filter: (ipa3_.config_siope_id = ipaconfigs7_.id)
6. 0.000 454.013 ↓ 0.0 0 1

Nested Loop (cost=0.56..22.54 rows=1 width=148) (actual time=454.013..454.013 rows=0 loops=1)

  • Join Filter: (banca5_.config_siope_id = bancaconfi6_.id)
7. 0.001 454.013 ↓ 0.0 0 1

Nested Loop (cost=0.56..21.27 rows=1 width=156) (actual time=454.013..454.013 rows=0 loops=1)

8. 0.000 454.012 ↓ 0.0 0 1

Nested Loop (cost=0.56..19.11 rows=1 width=126) (actual time=454.012..454.012 rows=0 loops=1)

9. 0.002 454.012 ↓ 0.0 0 1

Nested Loop (cost=0.56..17.76 rows=1 width=110) (actual time=454.012..454.012 rows=0 loops=1)

10. 0.001 454.010 ↓ 0.0 0 1

Nested Loop (cost=0.56..16.46 rows=1 width=95) (actual time=454.010..454.010 rows=0 loops=1)

  • Join Filter: (ricevutaap0_.ordinativo_id = versioneor1_.id)
11. 454.009 454.009 ↓ 0.0 0 1

Index Scan using ric_appl_ipaid_idx on ric_appl ricevutaap0_ (cost=0.28..8.15 rows=1 width=87) (actual time=454.009..454.009 rows=0 loops=1)

  • Index Cond: (ipa_id = 11,880,215)
12. 0.000 0.000 ↓ 0.0 0

Index Scan using idx_monitoraggio_vers_ord on vers_ord versioneor1_ (cost=0.28..8.30 rows=1 width=16) (never executed)

  • Index Cond: (esercizio = 2,020)
13. 0.000 0.000 ↓ 0.0 0

Seq Scan on ipa ipa3_ (cost=0.00..1.28 rows=1 width=31) (never executed)

  • Filter: ((id = 11,880,215) AND (ente_id = 11,880,216))
14. 0.000 0.000 ↓ 0.0 0

Seq Scan on ente ente4_ (cost=0.00..1.34 rows=1 width=24) (never executed)

  • Filter: ((id = 11,880,216) AND (banca_id = 11,880,158))
15. 0.000 0.000 ↓ 0.0 0

Seq Scan on banca banca5_ (cost=0.00..2.15 rows=1 width=38) (never executed)

  • Filter: (id = 11,880,158)
16. 0.000 0.000 ↓ 0.0 0

Seq Scan on banca_cfg_sio bancaconfi6_ (cost=0.00..1.12 rows=12 width=8) (never executed)

17. 0.000 0.000 ↓ 0.0 0

Seq Scan on ipa_cfg_siope ipaconfigs7_ (cost=0.00..1.21 rows=21 width=19) (never executed)

18. 0.000 0.000 ↓ 0.0 0

Index Scan using pk_ric_acc on ric_acc ricevutaac8_ (cost=0.28..8.29 rows=1 width=16) (never executed)

  • Index Cond: (id = ricevutaap0_.ricevuta_accorpata_id)
Planning time : 1.662 ms
Execution time : 454.176 ms