Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Estimate versus Compute
Not a bad thought, but, as I forgot to mention it, we are using 8.1.7.4
right now and I tried this with the result of DBMS_STATS.AUTO_SAMPLE_SIZE
not being recognized.
Oh well, thanks anyway.
-----Original Message-----
From: sol beach [mailto:sol.beach_at_gmail.com]
Sent: Monday, July 25, 2005 2:07 PM
To: Oracle-L_at_freelists.org
Subject: 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 - );
![]() |
![]() |