Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: 10053 Trace File anomolies
We are using the following syntax for analyzing the schema:
dbms_stats.gather_schema_stats(ownname=>'MATT',cascade=>TRUE,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE);
but by doing a full analyze as such:
dbms_stats.gather_table_stats(ownname=>'SYSADM',tabname=>'<TNAME>'cascade=>TRUE) for each of the tables in the query, the problem dissapears and the response time returns to normal.
I'm surprised that the estimate stats got it so wrong....
Matt Received on Tue Jun 28 2005 - 02:51:05 CDT
![]() |
![]() |