explain.depesz.com

PostgreSQL's explain analyze made readable

Result: mTNL

Settings

Optimization(s) for this plan:

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

Limit (cost=32.80..32.86 rows=1 width=242) (actual time=0.109..0.109 rows=0 loops=1)

2. 0.000 0.108 ↓ 0.0 0 1

Unique (cost=32.80..32.86 rows=1 width=242) (actual time=0.108..0.108 rows=0 loops=1)

3. 0.021 0.108 ↓ 0.0 0 1

Sort (cost=32.80..32.81 rows=1 width=242) (actual time=0.108..0.108 rows=0 loops=1)

  • Sort Key: ricevutaap0_.id DESC, banca5_.abi, ente4_.codente, ipa3_.codice_ipa, pacchetto2_.identificativo_flusso, ricevutaap0_.data_esito, ipaconfigs7_.utenza_a_2_a, pacchetto2_.prog_flusso, 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 0.087 ↓ 0.0 0 1

Nested Loop (cost=1.12..32.79 rows=1 width=242) (actual time=0.087..0.087 rows=0 loops=1)

5. 0.000 0.086 ↓ 0.0 0 1

Nested Loop (cost=0.84..32.47 rows=1 width=178) (actual time=0.086..0.086 rows=0 loops=1)

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

Nested Loop (cost=0.84..31.00 rows=1 width=175) (actual time=0.086..0.086 rows=0 loops=1)

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

Nested Loop (cost=0.84..29.73 rows=1 width=183) (actual time=0.086..0.086 rows=0 loops=1)

8. 0.000 0.086 ↓ 0.0 0 1

Nested Loop (cost=0.84..27.57 rows=1 width=153) (actual time=0.086..0.086 rows=0 loops=1)

9. 0.001 0.086 ↓ 0.0 0 1

Nested Loop (cost=0.84..26.21 rows=1 width=137) (actual time=0.086..0.086 rows=0 loops=1)

10. 0.002 0.085 ↓ 0.0 0 1

Nested Loop (cost=0.84..24.92 rows=1 width=122) (actual time=0.085..0.085 rows=0 loops=1)

  • Join Filter: (versioneor1_.pacchetto_id = pacchetto2_.id)
11. 0.028 0.079 ↓ 2.0 2 1

Nested Loop (cost=0.56..16.61 rows=1 width=95) (actual time=0.077..0.079 rows=2 loops=1)

12. 0.026 0.026 ↓ 25.0 25 1

Index Scan using idx_monitoraggio_vers_ord on vers_ord versioneor1_ (cost=0.28..8.30 rows=1 width=24) (actual time=0.009..0.026 rows=25 loops=1)

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

Index Scan using ric_appl_ordinativo_id_idx on ric_appl ricevutaap0_ (cost=0.28..8.30 rows=1 width=79) (actual time=0.001..0.001 rows=0 loops=25)

  • Index Cond: (ordinativo_id = versioneor1_.id)
14. 0.004 0.004 ↓ 0.0 0 2

Index Scan using composite on pacchetto pacchetto2_ (cost=0.28..8.29 rows=1 width=43) (actual time=0.002..0.002 rows=0 loops=2)

  • Index Cond: (ipa_id = 11,880,215)
15. 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))
16. 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))
17. 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)
18. 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)

19. 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)

20. 0.000 0.000 ↓ 0.0 0

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

  • Index Cond: (id = ricevutaap0_.ricevuta_accorpata_id)
Planning time : 2.025 ms
Execution time : 0.298 ms