Professional Documents
Culture Documents
REason / cause :
-------------------
: Query is the data source of report
Query Contains multiple tables ,
Any of one table may required Gather table stats.
sOLUTION :
fIND THE TABLE WHICH REQUIRED GATHER TABLE STATS ?
Begin
Dbms_stats.gather_table_stats('HR','STAT_TEST');
End;
/
---------------------------
insert into stat_test Select level From Dual connect by level <=10;
Commit ;
Begin
Dbms_stats.gather_table_stats('HR','STAT_TEST');
End;
/