explain.depesz.com

PostgreSQL's explain analyze made readable

Result: nOPx

Settings

Optimization(s) for this plan:

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

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

2. 0.002 98.101 ↓ 0.0 0 1

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

3. 0.059 98.099 ↓ 0.0 0 1

Sort (cost=32.80..32.81 rows=1 width=242) (actual time=98.099..98.099 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 98.040 ↓ 0.0 0 1

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

5. 0.000 98.039 ↓ 0.0 0 1

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

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

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

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

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

8. 0.000 98.038 ↓ 0.0 0 1

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

9. 0.002 98.038 ↓ 0.0 0 1

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

10. 0.004 98.036 ↓ 0.0 0 1

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

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

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

12. 85.726 85.726 ↓ 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.030..85.726 rows=25 loops=1)

  • Index Cond: (esercizio = 2,020)
13. 12.225 12.225 ↓ 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.257..0.489 rows=0 loops=25)

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

Index Scan using composite on pacchetto pacchetto2_ (cost=0.28..8.29 rows=1 width=43) (actual time=0.030..0.030 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 : 1,138.548 ms
Execution time : 98.345 ms