Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Estimate versus Compute
Here is what I use:
exec dbms_stats.gather_schema_stats( -
ownname => USER, - estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, - method_opt => 'FOR ALL INDEXED COLUMNS', - granularity => 'ALL', - cascade => TRUE - );
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Jul 25 2005 - 14:09:30 CDT
![]() |
![]() |