Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: dbms_stats

Re: dbms_stats

From: Christian Antognini <christian.antognini_at_trivadis.com>
Date: Thu, 19 Aug 2004 21:24:16 +0200
Message-ID: <4124fe65$1@post.usenet.com>

"Wayne March" <wmarch_at_cfl.rr.com> wrote in message news:69e9fe8c.0408191045.5c13cfb0_at_posting.google.com...
> I try to execute dbms_stats.gather_schema_stats (ownname => 'SYSADM'
> , degree => 12
> , percent_estimate => 30
> , cascade => true) ;
> and I am getting
> dbms_stats.gather_schema_stats (ownname => 'SYSADM'
> *
> ERROR at line 1:
> ORA-00900: invalid SQL statement
>
> Any ideas how do i fix this situation

Hi Wayne

The parameter name is "estimate_percent" and not "percent_estimate".

BTW:
- how many CPU has your system? Remember, with degree=12, 24 processes will be used for the processing...
- 30% is either too high or too low... in my opinion you should use 100% or a value lower than 5%, on most systems 1% is good

Chris

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Received on Thu Aug 19 2004 - 14:24:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US