Problem with a indexes that doesn't run
Hi all,
I premise that I'm not a Dba Administrator, but I must resolve a performance problem in a complex select.
I hope to explain it, but If you need others information about it, I can give all!
I read a Rob thread about the explain plan and tkprof.
1) The statment is this (I show only a field extracted, but are much more)
explain plan for
select case
when a.codi_prov = b.codi_prov then 1
when a.codi_prov != b.codi_prov
and a.codi_regi = b.codi_regi then 2
else 3 end ordine
,codi_azie
from V_Boll0003 a
, ( select c.codi_prov
, c.codi_regi
from AnagIndiAzie b ,
ParaProv c
where b.codi_prov = c.codi_prov
and b.codi_azie = 11
and codi_tipo_indi = 9 ) b
where a.codi_boll_avvi = 1181
and codi_azie = 11
order by codi_azie, ordine, nume_ordi, nvl(substr(nume_avvi_coll,2),substr(nume_avvi,2)),substr(nume_avvi,2)where the V_Boll0003 is this
select d.codi_Azie , a.codi_prov , a.codi_regi , nume_ordi , nume_Avvi ,
a.nume_avvi_coll , desc_deno_ente , a.CODI_SIGL_PROV , desc_indi_visu ,
desc_caap , Desc_Comu , desc_nume_tele02 , desc_nume_tele01 ,
desc_nume_faxx02 , desc_nume_faxx01, desc_tipo_avvi_visu, flag_avvi_urge , desc_ogge_lavo ,
Flag_Cate_Stim , Note_stim , Impo_Avvi_Visu , Desc_note_Impo , Desc_Fina_0001 ,
Desc_Arti_Legg_Boll, Data_Publ , Data_Scad_Visu , desc_scad_oraa , desc_scad_minu ,
Desc_Note_Ente_Visu, a.codi_avvi , a.codi_boll_avvi ,
desc_uffi_ente , desc_fina_0002 , desc_ogge_lavo_visu,
desc_deno_ente_visu, EstrDatiAvvi(codi_Avvi_Coll,'B') Desc_Deno_AVVI_Coll,
EstrDatiAvvi(codi_Avvi_Coll,'I') Desc_Deno_Ente_Coll
from V_Asp_RepoAnagBollAvvi a,
RelaAvviProv b,
RelaAvviDettCate c,
GestAzieInte d
where a.codi_avvi = b.codi_avvi(+)
and a.codi_avvi = c.codi_avvi(+)
and b.codi_prov = d.codi_prov
and c.codi_dett_cate = d.codi_dett_cate(+)
and a.flag_risu not in ('R')
and (
a.impo_avvi >= d.impo_mini
and a.impo_avvi <= d.impo_maxx
or a.impo_avvi = 0
group by d.codi_Azie , a.codi_prov , a.codi_regi , nume_ordi , nume_Avvi ,
a.nume_avvi_coll , desc_deno_ente , a.CODI_SIGL_PROV , desc_indi_visu ,
desc_caap , Desc_Comu , desc_nume_tele02 , desc_nume_tele01 ,
desc_nume_faxx02 , desc_nume_faxx01, desc_tipo_avvi_visu, flag_avvi_urge , desc_ogge_lavo ,
Flag_Cate_Stim , Note_stim , Impo_Avvi_Visu , Desc_note_Impo , Desc_Fina_0001 ,
Desc_Arti_Legg_Boll, Data_Publ , Data_Scad_Visu , desc_scad_oraa , desc_scad_minu ,
Desc_Note_Ente_Visu, a.codi_avvi , a.codi_boll_avvi ,
desc_uffi_ente , desc_fina_0002 , desc_ogge_lavo_visu,
desc_deno_ente_visu, EstrDatiAvvi(codi_Avvi_Coll,'B'),
EstrDatiAvvi(codi_Avvi_Coll,'I')
union
select d.codi_Azie , a.codi_prov , a.codi_regi , nume_ordi , nume_Avvi ,
a.nume_avvi_coll , desc_deno_ente , a.CODI_SIGL_PROV , desc_indi_visu ,
desc_caap , Desc_Comu , desc_nume_tele02 , desc_nume_tele01 ,
desc_nume_faxx02 , desc_nume_faxx01, desc_tipo_avvi_visu, flag_avvi_urge , desc_ogge_lavo ,
Flag_Cate_Stim , Note_stim , Impo_Avvi_Visu , Desc_note_Impo , Desc_Fina_0001 ,
Desc_Arti_Legg_Boll, Data_Publ , Data_Scad_Visu , desc_scad_oraa , desc_scad_minu ,
Desc_Note_Ente_Visu, a.codi_avvi , a.codi_boll_avvi ,
desc_uffi_ente , desc_fina_0002 , desc_ogge_lavo_visu,
desc_deno_ente_visu, EstrDatiAvvi(codi_Avvi_Coll,'B') Desc_Deno_AVVI_Coll,
EstrDatiAvvi(codi_Avvi_Coll,'I') Desc_Deno_Ente_Coll
from V_Asp_RepoAnagBollAvvi a,
RelaAvviProv b,
RelaAvviDettCate c,
GestAzieInte d
where a.codi_avvi_coll = b.codi_avvi(+)
and a.codi_avvi_coll = c.codi_avvi(+)
and b.codi_prov = d.codi_prov
and c.codi_dett_cate = d.codi_dett_cate(+)
and a.flag_risu not in ('R')
and (
a.impo_avvi >= d.impo_mini
and a.impo_avvi <= d.impo_maxx
or a.impo_avvi = 0
group by d.codi_Azie , a.codi_prov , a.codi_regi , nume_ordi , nume_Avvi ,
a.nume_avvi_coll , desc_deno_ente , a.CODI_SIGL_PROV , desc_indi_visu ,
desc_caap , Desc_Comu , desc_nume_tele02 , desc_nume_tele01 ,
desc_nume_faxx02 , desc_nume_faxx01, desc_tipo_avvi_visu, flag_avvi_urge , desc_ogge_lavo ,
Flag_Cate_Stim , Note_stim , Impo_Avvi_Visu , Desc_note_Impo , Desc_Fina_0001 ,
Desc_Arti_Legg_Boll, Data_Publ , Data_Scad_Visu , desc_scad_oraa , desc_scad_minu ,
Desc_Note_Ente_Visu, a.codi_avvi , a.codi_boll_avvi ,
desc_uffi_ente , desc_fina_0002 , desc_ogge_lavo_visu,
desc_deno_ente_visu, EstrDatiAvvi(codi_Avvi_Coll,'B'),
EstrDatiAvvi(codi_Avvi_Coll,'I')
union
select d.codi_Azie , a.codi_prov , a.codi_regi , nume_ordi , nume_Avvi ,
a.nume_avvi_coll , desc_deno_ente , a.CODI_SIGL_PROV , desc_indi_visu ,
desc_caap , Desc_Comu , desc_nume_tele02 , desc_nume_tele01 ,
desc_nume_faxx02 , desc_nume_faxx01, desc_tipo_avvi_visu, flag_avvi_urge , desc_ogge_lavo ,
Flag_Cate_Stim , Note_stim , Impo_Avvi_Visu , Desc_note_Impo , Desc_Fina_0001 ,
Desc_Arti_Legg_Boll, Data_Publ , Data_Scad_Visu , desc_scad_oraa , desc_scad_minu ,
Desc_Note_Ente_Visu, a.codi_avvi , a.codi_boll_avvi ,
desc_uffi_ente , desc_fina_0002 , desc_ogge_lavo_visu,
desc_deno_ente_visu, EstrDatiAvvi(codi_Avvi_Coll,'B') Desc_Deno_AVVI_Coll,
EstrDatiAvvi(codi_Avvi_Coll,'I') Desc_Deno_Ente_Coll
from V_Asp_RepoAnagBollAvvi a,
RelaAvviProv b,
GestAzieInte d
where a.codi_avvi = b.codi_avvi
and b.codi_prov = d.codi_prov
and a.flag_risu not in ('R')
and flag_glob = 'P'
group by d.codi_Azie , a.codi_prov , a.codi_regi , nume_ordi , nume_Avvi ,
a.nume_avvi_coll , desc_deno_ente , a.CODI_SIGL_PROV , desc_indi_visu ,
desc_caap , Desc_Comu , desc_nume_tele02 , desc_nume_tele01 ,
desc_nume_faxx02 , desc_nume_faxx01, desc_tipo_avvi_visu, flag_avvi_urge , desc_ogge_lavo ,
Flag_Cate_Stim , Note_stim , Impo_Avvi_Visu , Desc_note_Impo , Desc_Fina_0001 ,
Desc_Arti_Legg_Boll, Data_Publ , Data_Scad_Visu , desc_scad_oraa , desc_scad_minu ,
Desc_Note_Ente_Visu, a.codi_avvi , a.codi_boll_avvi ,
desc_uffi_ente , desc_fina_0002 , desc_ogge_lavo_visu,
desc_deno_ente_visu, EstrDatiAvvi(codi_Avvi_Coll,'B'),
EstrDatiAvvi(codi_Avvi_Coll,'I')
union
select d.codi_Azie , a.codi_prov , a.codi_regi , nume_ordi , nume_Avvi ,
a.nume_avvi_coll , desc_deno_ente , a.CODI_SIGL_PROV , desc_indi_visu ,
desc_caap , Desc_Comu , desc_nume_tele02 , desc_nume_tele01 ,
desc_nume_faxx02 , desc_nume_faxx01, desc_tipo_avvi_visu, flag_avvi_urge , desc_ogge_lavo ,
Flag_Cate_Stim , Note_stim , Impo_Avvi_Visu , Desc_note_Impo , Desc_Fina_0001 ,
Desc_Arti_Legg_Boll, Data_Publ , Data_Scad_Visu , desc_scad_oraa , desc_scad_minu ,
Desc_Note_Ente_Visu, a.codi_avvi , a.codi_boll_avvi ,
desc_uffi_ente , desc_fina_0002 , desc_ogge_lavo_visu,
desc_deno_ente_visu, EstrDatiAvvi(codi_Avvi_Coll,'B') Desc_Deno_AVVI_Coll,
EstrDatiAvvi(codi_Avvi_Coll,'I') Desc_Deno_Ente_Coll
from V_Asp_RepoAnagBollAvvi a,
RelaAvviProv b,
RelaAvviDettCate c,
GestAzieInte d
where a.codi_avvi_coll = b.codi_avvi(+)
and a.codi_avvi = c.codi_avvi(+)
and b.codi_prov = d.codi_prov
and c.codi_dett_cate = d.codi_dett_cate(+)
and a.flag_risu not in ('R')
and (
a.impo_avvi >= d.impo_mini
and a.impo_avvi <= d.impo_maxx
or a.impo_avvi = 0
group by d.codi_Azie , a.codi_prov , a.codi_regi , nume_ordi , nume_Avvi ,
a.nume_avvi_coll , desc_deno_ente , a.CODI_SIGL_PROV , desc_indi_visu ,
desc_caap , Desc_Comu , desc_nume_tele02 , desc_nume_tele01 ,
desc_nume_faxx02 , desc_nume_faxx01, desc_tipo_avvi_visu, flag_avvi_urge , desc_ogge_lavo ,
Flag_Cate_Stim , Note_stim , Impo_Avvi_Visu , Desc_note_Impo , Desc_Fina_0001 ,
Desc_Arti_Legg_Boll, Data_Publ , Data_Scad_Visu , desc_scad_oraa , desc_scad_minu ,
Desc_Note_Ente_Visu, a.codi_avvi , a.codi_boll_avvi ,
desc_uffi_ente , desc_fina_0002 , desc_ogge_lavo_visu,
desc_deno_ente_visu, EstrDatiAvvi(codi_Avvi_Coll,'B'),
EstrDatiAvvi(codi_Avvi_Coll,'I')and the table that doesn't run the index, is RelaAvviProv,
CODI_AVVI_PROV NOT NULL NUMBER(9)
CODI_AVVI NOT NULL NUMBER(9)
CODI_PROV NOT NULL VARCHAR2(3)
USER_PROP NOT NULL VARCHAR2(30)
USER_PROC NOT NULL VARCHAR2(30)
DATA_AGGI NOT NULL DATE
DATA_INSE NOT NULL DATENow
2) Explain plan is this
PLAN_TABLE_OUTPUT
Plan hash value: 1133346799
| Id | Operation | Name
| Rows | Bytes |TempSpc| Cost (%CPU)| Time |
PLAN_TABLE_OUTPUT
| 0 | SELECT STATEMENT |
| 277 | 22160 | | 6061 (2)| 00:01:13 |
| 1 | SORT ORDER BY |
| 277 | 22160 | | 6061 (2)| 00:01:13 |
| 2 | MERGE JOIN CARTESIAN |
| 277 | 22160 | | 6060 (2)| 00:01:13 |
| 3 | NESTED LOOPS |
| 1 | 20 | | 29 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
|* 4 | TABLE ACCESS BY INDEX ROWID | ANAGINDIAZIE
| 1 | 12 | | 28 (0)| 00:00:01 |
|* 5 | INDEX RANGE SCAN | INDX_ANAGINDIAZIE_TIPOI
NDI | 1726 | | | 4 (0)| 00:00:01 |
| 6 | TABLE ACCESS BY INDEX ROWID | PARAPROV
| 1 | 8 | | 1 (0)| 00:00:01 |
|* 7 | INDEX UNIQUE SCAN | PK_CODIPROV
PLAN_TABLE_OUTPUT
| 1 | | | 0 (0)| 00:00:01 |
| 8 | BUFFER SORT |
| 3952 | 231K| | 6060 (2)| 00:01:13 |
| 9 | VIEW | V_BOLL0003
| 3952 | 231K| | 6031 (2)| 00:01:13 |
| 10 | SORT UNIQUE |
| 3952 | 2316K| 4840K| 6031 (77)| 00:01:13 |
PLAN_TABLE_OUTPUT
| 11 | UNION-ALL |
| | | | | |
| 12 | HASH GROUP BY |
| 11 | 6809 | | 1414 (2)| 00:00:17 |
| 13 | NESTED LOOPS OUTER |
| 11 | 6809 | | 1412 (2)| 00:00:17 |
| 14 | NESTED LOOPS OUTER |
| 11 | 6578 | | 1401 (2)| 00:00:17 |
PLAN_TABLE_OUTPUT
| 15 | NESTED LOOPS |
| 11 | 6413 | | 1400 (2)| 00:00:17 |
| 16 | NESTED LOOPS |
| 11 | 4895 | | 1389 (2)| 00:00:17 |
|* 17 | HASH JOIN |
| 451 | 186K| | 1156 (2)| 00:00:14 |
| 18 | NESTED LOOPS |
PLAN_TABLE_OUTPUT
| 304 | 123K| | 710 (1)| 00:00:09 |
|* 19 | HASH JOIN RIGHT OUTER |
| 174 | 70644 | | 187 (1)| 00:00:03 |
| 20 | TABLE ACCESS FULL | ANAGUFFIENTI
| 963 | 30816 | | 5 (0)| 00:00:01 |
| 21 | NESTED LOOPS OUTER |
| 174 | 65076 | | 182 (1)| 00:00:03 |
PLAN_TABLE_OUTPUT
| 22 | NESTED LOOPS OUTER |
| 174 | 59682 | | 181 (1)| 00:00:03 |
| 23 | NESTED LOOPS OUTER |
| 174 | 55506 | | 180 (1)| 00:00:03 |
| 24 | NESTED LOOPS OUTER |
| 174 | 51330 | | 179 (1)| 00:00:03 |
| 25 | NESTED LOOPS |
| 174 | 47676 | | 177 (0)| 00:00:03 |
PLAN_TABLE_OUTPUT
|* 26 | INDEX RANGE SCAN | UQ_RELAAVVIBOLL_BOLLAVV
I | 174 | 1566 | | 3 (0)| 00:00:01 |
|* 27 | TABLE ACCESS BY INDEX ROWID| ANAGAVVI
| 1 | 265 | | 1 (0)| 00:00:01 |
|* 28 | INDEX UNIQUE SCAN | PK_ANAGAVVI_CODIAVVI
| 1 | | | 0 (0)| 00:00:01 |
| 29 | TABLE ACCESS BY INDEX ROWID | PARATIPOAVVI
PLAN_TABLE_OUTPUT
| 1 | 21 | | 1 (0)| 00:00:01 |
|* 30 | INDEX UNIQUE SCAN | PK_PARATIPOAVVI_CODITIP
O | 1 | | | 0 (0)| 00:00:01 |
| 31 | TABLE ACCESS BY INDEX ROWID | PARAFINA
| 1 | 24 | | 1 (0)| 00:00:01 |
|* 32 | INDEX UNIQUE SCAN | PK_PARAFINA_CODIFINA
| 1 | | | 0 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 33 | TABLE ACCESS BY INDEX ROWID | PARAFINA
| 1 | 24 | | 1 (0)| 00:00:01 |
|* 34 | INDEX UNIQUE SCAN | PK_PARAFINA_CODIFINA
| 1 | | | 0 (0)| 00:00:01 |
| 35 | TABLE ACCESS BY INDEX ROWID | PARALEGG
| 1 | 31 | | 1 (0)| 00:00:01 |
|* 36 | INDEX UNIQUE SCAN | PK_PARALEGG_CODILEGG
| 1 | | | 0 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 37 | TABLE ACCESS BY INDEX ROWID | RELAAVVIDETTCATE
| 2 | 18 | | 3 (0)| 00:00:01 |
|* 38 | INDEX RANGE SCAN | IDX_RELAAVVIDETTCATE
| 2 | | | 2 (0)| 00:00:01 |
| 39 | TABLE ACCESS FULL | RELAAVVIPROV
| 308K| 2713K| | 440 (3)| 00:00:06 |
|* 40 | TABLE ACCESS BY INDEX ROWID | GESTAZIEINTE
PLAN_TABLE_OUTPUT
| 1 | 21 | | 1 (0)| 00:00:01 |
|* 41 | INDEX UNIQUE SCAN | UQ_GESTAZIEINTE_AZIEPRO
VCATE | 1 | | | 0 (0)| 00:00:01 |
| 42 | TABLE ACCESS BY INDEX ROWID | ANAGENTI
| 1 | 138 | | 1 (0)| 00:00:01 |
|* 43 | INDEX UNIQUE SCAN | PK_ANAGENTI_CODIENTE
| 1 | | | 0 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 44 | TABLE ACCESS BY INDEX ROWID | PARAPROV
| 1 | 15 | | 1 (0)| 00:00:01 |
|* 45 | INDEX UNIQUE SCAN | PK_CODIPROV
| 1 | | | 0 (0)| 00:00:01 |
| 46 | TABLE ACCESS BY INDEX ROWID | PARACOMU
| 1 | 21 | | 1 (0)| 00:00:01 |
|* 47 | INDEX UNIQUE SCAN | PK_CODIPROVCOMU
| 1 | | | 0 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 48 | HASH GROUP BY |
| 11 | 6809 | | 1414 (2)| 00:00:17 |
| 49 | NESTED LOOPS OUTER |
| 11 | 6809 | | 1412 (2)| 00:00:17 |
| 50 | NESTED LOOPS OUTER |
| 11 | 6578 | | 1401 (2)| 00:00:17 |
| 51 | NESTED LOOPS |
PLAN_TABLE_OUTPUT
| 11 | 6413 | | 1400 (2)| 00:00:17 |
| 52 | NESTED LOOPS |
| 11 | 4895 | | 1389 (2)| 00:00:17 |
|* 53 | HASH JOIN |
| 451 | 186K| | 1156 (2)| 00:00:14 |
| 54 | NESTED LOOPS |
| 304 | 123K| | 710 (1)| 00:00:09 |
PLAN_TABLE_OUTPUT
|* 55 | HASH JOIN RIGHT OUTER |
| 174 | 70644 | | 187 (1)| 00:00:03 |
| 56 | TABLE ACCESS FULL | ANAGUFFIENTI
| 963 | 30816 | | 5 (0)| 00:00:01 |
| 57 | NESTED LOOPS OUTER |
| 174 | 65076 | | 182 (1)| 00:00:03 |
| 58 | NESTED LOOPS OUTER |
| 174 | 59682 | | 181 (1)| 00:00:03 |
PLAN_TABLE_OUTPUT
| 59 | NESTED LOOPS OUTER |
| 174 | 55506 | | 180 (1)| 00:00:03 |
| 60 | NESTED LOOPS OUTER |
| 174 | 51330 | | 179 (1)| 00:00:03 |
| 61 | NESTED LOOPS |
| 174 | 47676 | | 177 (0)| 00:00:03 |
|* 62 | INDEX RANGE SCAN | UQ_RELAAVVIBOLL_BOLLAVV
PLAN_TABLE_OUTPUT
I | 174 | 1566 | | 3 (0)| 00:00:01 |
|* 63 | TABLE ACCESS BY INDEX ROWID| ANAGAVVI
| 1 | 265 | | 1 (0)| 00:00:01 |
|* 64 | INDEX UNIQUE SCAN | PK_ANAGAVVI_CODIAVVI
| 1 | | | 0 (0)| 00:00:01 |
| 65 | TABLE ACCESS BY INDEX ROWID | PARATIPOAVVI
| 1 | 21 | | 1 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
|* 66 | INDEX UNIQUE SCAN | PK_PARATIPOAVVI_CODITIP
O | 1 | | | 0 (0)| 00:00:01 |
| 67 | TABLE ACCESS BY INDEX ROWID | PARAFINA
| 1 | 24 | | 1 (0)| 00:00:01 |
|* 68 | INDEX UNIQUE SCAN | PK_PARAFINA_CODIFINA
| 1 | | | 0 (0)| 00:00:01 |
| 69 | TABLE ACCESS BY INDEX ROWID | PARAFINA
| 1 | 24 | | 1 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
|* 70 | INDEX UNIQUE SCAN | PK_PARAFINA_CODIFINA
| 1 | | | 0 (0)| 00:00:01 |
| 71 | TABLE ACCESS BY INDEX ROWID | PARALEGG
| 1 | 31 | | 1 (0)| 00:00:01 |
|* 72 | INDEX UNIQUE SCAN | PK_PARALEGG_CODILEGG
| 1 | | | 0 (0)| 00:00:01 |
| 73 | TABLE ACCESS BY INDEX ROWID | RELAAVVIDETTCATE
PLAN_TABLE_OUTPUT
| 2 | 18 | | 3 (0)| 00:00:01 |
|* 74 | INDEX RANGE SCAN | IDX_RELAAVVIDETTCATE
| 2 | | | 2 (0)| 00:00:01 |
| 75 | TABLE ACCESS FULL | RELAAVVIPROV
| 308K| 2713K| | 440 (3)| 00:00:06 |
|* 76 | TABLE ACCESS BY INDEX ROWID | GESTAZIEINTE
| 1 | 21 | | 1 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
|* 77 | INDEX UNIQUE SCAN | UQ_GESTAZIEINTE_AZIEPRO
VCATE | 1 | | | 0 (0)| 00:00:01 |
| 78 | TABLE ACCESS BY INDEX ROWID | ANAGENTI
| 1 | 138 | | 1 (0)| 00:00:01 |
|* 79 | INDEX UNIQUE SCAN | PK_ANAGENTI_CODIENTE
| 1 | | | 0 (0)| 00:00:01 |
| 80 | TABLE ACCESS BY INDEX ROWID | PARAPROV
| 1 | 15 | | 1 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
|* 81 | INDEX UNIQUE SCAN | PK_CODIPROV
| 1 | | | 0 (0)| 00:00:01 |
| 82 | TABLE ACCESS BY INDEX ROWID | PARACOMU
| 1 | 21 | | 1 (0)| 00:00:01 |
|* 83 | INDEX UNIQUE SCAN | PK_CODIPROVCOMU
| 1 | | | 0 (0)| 00:00:01 |
| 84 | HASH GROUP BY |
PLAN_TABLE_OUTPUT
| 3919 | 2296K| 4840K| 1787 (2)| 00:00:22 |
|* 85 | HASH JOIN |
| 3919 | 2296K| | 786 (4)| 00:00:10 |
|* 86 | INDEX RANGE SCAN | UQ_GESTAZIEINTE_AZIEPRO
VCATE | 1062 | 9558 | | 5 (0)| 00:00:01 |
|* 87 | HASH JOIN |
| 257 | 148K| | 780 (4)| 00:00:10 |
PLAN_TABLE_OUTPUT
|* 88 | HASH JOIN OUTER |
| 174 | 98K| | 334 (2)| 00:00:05 |
| 89 | NESTED LOOPS OUTER |
| 174 | 97614 | | 304 (2)| 00:00:04 |
|* 90 | HASH JOIN |
| 174 | 95004 | | 302 (2)| 00:00:04 |
|* 91 | HASH JOIN RIGHT OUTER |
| 174 | 70992 | | 187 (1)| 00:00:03 |
PLAN_TABLE_OUTPUT
| 92 | TABLE ACCESS FULL | ANAGUFFIENTI
| 963 | 30816 | | 5 (0)| 00:00:01 |
| 93 | NESTED LOOPS OUTER |
| 174 | 65424 | | 182 (1)| 00:00:03 |
| 94 | NESTED LOOPS OUTER |
| 174 | 60030 | | 181 (1)| 00:00:03 |
| 95 | NESTED LOOPS OUTER |
PLAN_TABLE_OUTPUT
| 174 | 55854 | | 180 (1)| 00:00:03 |
| 96 | NESTED LOOPS OUTER |
| 174 | 51678 | | 179 (1)| 00:00:03 |
| 97 | NESTED LOOPS |
| 174 | 48024 | | 177 (0)| 00:00:03 |
|* 98 | INDEX RANGE SCAN | UQ_RELAAVVIBOLL_BOLLAVV
I | 174 | 1566 | | 3 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
|* 99 | TABLE ACCESS BY INDEX ROWID | ANAGAVVI
| 1 | 267 | | 1 (0)| 00:00:01 |
|*100 | INDEX UNIQUE SCAN | PK_ANAGAVVI_CODIAVVI
| 1 | | |
Hi,
I've just did some tests, but in all case
CREATE OR REPLACE VIEW V_BOLL0003 AS
select /*+ INDEX(RELAAVVIPROV INDX_RELAAVVIPROV_CODIPROV) */ d.codi_Azie , a.codi_prov , ...
CREATE OR REPLACE VIEW V_BOLL0003 AS
select /*+ INDEX(RELAAVVIPROV INDX_RELAAVVIPROV_CODIAVVI) */ d.codi_Azie , a.codi_prov , ...
CREATE OR REPLACE VIEW V_BOLL0003 AS
select /*+ INDEX(RELAAVVIPROV INDX_RELAAVVIPROV_CODIAVVI INDX_RELAAVVIPROV_CODIPROV) */ d.codi_Azie , a.codi_prov , ...
CREATE OR REPLACE VIEW V_BOLL0003 AS
select /*+ INDEX(RELAAVVIPROV) */ d.codi_Azie , a.codi_prov , ...always I have the "Access Full Scan" on RelaAvviProv.
Any suggestions are welcome.
Thank's
Message was edited by:
mosquito70
Similar Messages
-
Hello , please am having a problem with my iphone 5 , the battery runs out quickly ,another problem also if i turn on 3G it will run faster , 15 minutes and the iphone battery will be out . My final problem is that "no service " appears a lot especially when opening wifi or 3G , can you help ?
Your battery is running quickly because your cellular data connection is weak.
Is your phone carrier a supported carrier: Wireless carrier support and features for iPhone in the United States and Canada - Apple Support
For your no service issues: If you see No Service in the status bar of your iPhone or iPad - Apple Support -
i have an ipod nano 5th generation. the problem with it's that it doesn't show in itunes when connected to the laptop and it switches on on its own and songs start playing the battery gets consumed too fast after full charge. what is the actual problem?
What have you tried so far in terms of troubleshooting this issue? Are you plugging the iPod into a high powered USB 2.0 port on the back of your PC? Have you tried a different USB cable?
What happens if you try to reset the device with it still connected to the PC?
How to reset iPod
Has this iPod ever worked on this PC or is this the first time you have time you have tried connecting it?
Have you carefully worked through each and every single suggestion in this Apple support document?
iPod not recognized in 'My Computer' and in iTunes for Windows
B-rock -
I have a problem with safari. It doesn't load any sites, thing that browers like chrome do, so it isn't a problem related to internet connection. The loading always blocks at 1/10. I don't know what do to. I CAN'T use it. I have a macbook pro 15 retina late 2013 updated to Yosemite
1. Power off the router. Unplug it from the wall. Wait a while.
Plug it back to the wall. Power the router on. Wait until all the lights are lit properly. It will take a while.
Restart the computer.
Start up in Safe Mode.
http://support.apple.com/kb/PH14204
2. Delete Caches.db
Close all windows and quit all applications.
Hold "option" key down and click "Go" menu in the Finder menu bar.
Select "Library" from the dropdown.
Library > Caches > com.apple.Safari > Caches.db
Right click the Caches.db file and select "Move To Trash.
Close windows and relaunch Safari.
3. Empty Caches
Safari > Preference > Advanced
Checkmark the box for "Show Develop menu in menu bar".
Develop menu will appear in the Safari menu bar.
Click Develop and select "Empty Caches" from the dropdown.
4. Delete Cookies
Safari > Preferences > Privacy > Cookies and other website data:
Click “Remove All Website Data”. -
Hello, I have a problem with my mac book pro after running the battery dead on a game. The display has shrunk leaving two black margins on either side. What to do ?
Go to System Preferences>Displays and set the resolution to "Best for this computer" (or something to that effect).
Clinton -
My Iphone has a problem with the microphone it doesn't seem to work! so there for i can't use Siri anymore.. this has been playing up for some time now. But as my wife & I had a baby 7 Months ago I have not found the time to pop in to the apple store until today (8/12/13) and they told me that they couldn't help as it's out of it's warranty by 57 days
Can antone help me? is there something i can do, apart from buying a new iphone!Have you got Siri turned on in settings/general/restrictions?
-
Yosemite will not upload on my MacPro, says I have to verify or repair, but when I do - it fails on that too. Am now stuck with a computer that doesn't work ! Have I lost everything ?
Hello BassoonPlayer,
Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using. FaceTime will not work if you do not have the proper time zone set up for the location that you are in. This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly. By the way, you described your problem very well, which makes it easier for us to help you. Hope this solves your problem -- if not, post back and I can suggest other remedies.
Wuz -
Hello i am having a problem in my 4s that it dosent run any USSD code it goes on calling , can any one help me i am maqsood from Karachi Pakistan
Ok so I've done what you said and this is what it's come back ....
I don't know that these are the errors , but they're the things which don't look right ...
Throughout the shut down there is a recurring line ;
It says ;
Com.apple.launchd 1 0x100600e70.anonymous.unmount 301 PID still valid
Then there are 2 more which I think are related ;
Com.apple.securityd 29 PID job has I overstayed its welcome , forcing removal.
Then the same with fseventd 48 and diskarbitrationd 13
Oh and on Launchd1 : System : stray anonymous job at shut down : PID 301 PPID13 PGID 13 unmount...
Then the last process says "about to call: reboot (RB_AUTOBOOT).
Continuing...
And stops ...
Hope this means something to you ... Thanks again for your help so far :-) -
Problems with the summit that auto generate t:panelTab
Hi,
I have a problem with the summit that auto generate <t:panelTab. When I submit with this button the bean PortfolioPageBean doesn�t recover the property contractListItem. However when I submit with <h:commandButton commandButton action="add", the bean recover information. What is the difference between these two types of submits?. This is my core:
<h:form id="menuTag">
<h:inputHidden id="contractListItem"
value="#{PortfolioPageBean.contractListItem}" />
<h:commandButton action="add" id="buttonTab" value="Add" />
<t:panelTabbedPane styleClass="tabbedPane"
activeTabStyleClass="activeTab" inactiveTabStyleClass="inactiveTab"
disabledTabStyleClass="disabledTab" activeSubStyleClass="activeSub"
inactiveSubStyleClass="inactiveSub" tabContentStyleClass="tabContent"
serverSideTabSwitch="true" id="menuTabs">
<t:panelTab id="tab1" styleClass="" label="Contract Listing">
<f:verbatim>
<br>
</f:verbatim>
<f:subview id="subtab1">
<jsp:include page="contract-list.jsp" />
</f:subview>
</t:panelTab>
<t:panelTab id="tab2" label="General Policy Details" style="align:center">
<h:outputText
value="#{PortfolioPageBean.contractListItem}"></h:outputText>
<f:verbatim>
<br><br><br>
</f:verbatim>
<f:subview id="subtab2">
<jsp:include page="general-policy.jsp" />
</f:subview>
</t:panelTab>
</t:panelTabbedPane>
</h:form>
Thank for your time!!!Hi,
I have a problem with the summit that auto generate <t:panelTab. When I submit with this button the bean PortfolioPageBean doesn�t recover the property contractListItem. However when I submit with <h:commandButton commandButton action="add", the bean recover information. What is the difference between these two types of submits?. This is my core:
<h:form id="menuTag">
<h:inputHidden id="contractListItem"
value="#{PortfolioPageBean.contractListItem}" />
<h:commandButton action="add" id="buttonTab" value="Add" />
<t:panelTabbedPane styleClass="tabbedPane"
activeTabStyleClass="activeTab" inactiveTabStyleClass="inactiveTab"
disabledTabStyleClass="disabledTab" activeSubStyleClass="activeSub"
inactiveSubStyleClass="inactiveSub" tabContentStyleClass="tabContent"
serverSideTabSwitch="true" id="menuTabs">
<t:panelTab id="tab1" styleClass="" label="Contract Listing">
<f:verbatim>
<br>
</f:verbatim>
<f:subview id="subtab1">
<jsp:include page="contract-list.jsp" />
</f:subview>
</t:panelTab>
<t:panelTab id="tab2" label="General Policy Details" style="align:center">
<h:outputText
value="#{PortfolioPageBean.contractListItem}"></h:outputText>
<f:verbatim>
<br><br><br>
</f:verbatim>
<f:subview id="subtab2">
<jsp:include page="general-policy.jsp" />
</f:subview>
</t:panelTab>
</t:panelTabbedPane>
</h:form>
Thank for your time!!! -
I have a ipod classic 160GB , the problem with it is that it is dead no respond at all, i even tried to do a hard reboot, i tried to connect to itunes but it did not work, if somebody has a solution please let me know! the screen on the ipod shows nothing........
This is the iPod touch forum. I will request that you post be moved to the iPod Classic forum.
-
When I sync my iphone with Windows 7, the contact moves to my computer, but the contact is not complete. No phone numbers. What am I doing wrong? I have also tried sync-ing with Yahoo, and that doesn't work either.
The music sync is one way - computer to iphone. The only exception is itunes purchases. File>Transfer Purchases
It has always been very basic to always maintain a backup copy of your computer for just such an occasion. Use your backup copy to move everything to your new computer. -
I have problems with my films that become slightly jerky after I have imported
and edited them in iMovie and then burned them onto a DVD using iDVD.
I can see the weak jerkiness when panning in both laterally
and vertically.
I shoot with a camcorder Canon Vixia HF10. The camera has been set to deliver HD quality (1920x1080). But I have accidentally filmed with a frame rate of 60 (?).
When I import the films in iMovie I have been asked if I want to change to frame rate 30 (instead of 25). I have chosen 30.
Could it be the setting of a frame rate 60 in my camcorder that causes jerkiness when panning or what else?I have problems with my films that become slightly jerky after I have imported
and edited them in iMovie and then burned them onto a DVD using iDVD.
I can see the weak jerkiness when panning in both laterally
and vertically.
I shoot with a camcorder Canon Vixia HF10. The camera has been set to deliver HD quality (1920x1080). But I have accidentally filmed with a frame rate of 60 (?).
When I import the films in iMovie I have been asked if I want to change to frame rate 30 (instead of 25). I have chosen 30.
Could it be the setting of a frame rate 60 in my camcorder that causes jerkiness when panning or what else? -
dears,
I have a problem with iPhone is that I can replace it at points of sale in the U.S. because I bought from Saudi Arabia because the problem I think in the hard ware I do resoftware more than 3 times did not fix.
Network also always missing.
I am living in KS Wichita. I hope you help me pleas.
Regards.iPhone warranty is not international. You will have to return your
iPhone to Saudi Arabia for repair/replacement. Either take it back
yourself or send to friend/relative for them to take to Apple. Apple
will not accept international shipments for repair nor will Apple
ship repaired/replaced iPhones out of the country where the repair
was done. -
I have a problem with disk utility that is not on my mac pro
I have a problem with disk utility that is not on my mac pro
Open your Applications folder then open the Utilities folder. It should be there.
If not, click the magnifying glass icon top right corner of your screen. That's Spotlight.
Type: Disk Utility
Hopefully it will show up.
Mac Basics: Spotlight -
I am having problems with certain websits that require adobe flash player
Please don't start the 1 millionth thread on this subject, which has been answered over and over and over and over and over and over and over.........Use the search bar and type flash and you'll see thousands of posts on this.
Maybe you are looking for
-
I have written an XSLT for some data XML. I am using a simple Java code to run this transform. The code is as given below import java.io.File; import java.io.FileOutputStream; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.Documen
-
Unable to find Adobe PDF resource files on Acrobat X Pro
I have a Windows 7 32-bit machine that receives the following error when attempting to create a PDF from Microsoft Office Word 2010: "Unable to find "Adobe PDF" resource files. "Acrobat PDFMaker" You must have Administrator priveleges to install thes
-
Fickering color correction on CS3
Hi: When I do some color correction on a video clip for the first few seconds the color correction flickers. Even on a the final rendered video. Anyone know why or how to prevernt it?
-
I've been trying to burn a DVD-R with a slideshow of approx 90 slides with audi and transitions. It seems to get through the encoding portion fine, but when it gets to writing the DVD it freezes after a small porion of the progrees bar. I've had to f
-
A problem of primary database apply forwarding
1.insert value in orc0,the result is the data is replicated at the orc1 and orc2 SQL> connect strmadm/strmadm@orc0; Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 Connected as strmadm SQL> Insert Into strmusr.product(Id,Name,d