From rgaffuri@cox.net Thu, 12 Jun 2003 09:59:18 -0700 From: Date: Thu, 12 Jun 2003 09:59:18 -0700 Subject: Re: RE: DBMS_STATS error Message-ID: MIME-Version: 1.0 Content-Type: text/plain 8.1.7 I ran it again and it worked. I really have no idea why it failed. > > From: Regis Biassala <[EMAIL PROTECTED]> > Date: 2003/06/12 Thu AM 10:09:52 EDT > To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> > Subject: RE: DBMS_STATS error > > why are you so focused on this view: DBA_TAB_MODIFICATIONS > > It contains info on tables *modified* : > columns INSERTS, UPDATES, DELETES give you the number rows inserted or > updated or deleted since the ****last**** your tables was analyzed.... > > Concerning your error, I ran it as SYSTEM and it worked...8.1.7.0 > SQL> exec > dbms_stats.gather_schema_stats(ownname=>'REGIS',estimate_percent=>20,degree= > >16,cascade=>true,options=>'GATHER EMPTY' > PL/SQL procedure successfully completed. > > which version of Oracle you are running ? > Can you do a: desc dbms_stats ? > Regis > > -----Original Message----- > Sent: Thursday, June 12, 2003 1:49 PM > To: Multiple recipients of list ORACLE-L > > > I ran the following and got an error. Any idea? I noticed after I ran it > that my DBA_TAB_MODIFICATION view has no records even though I ran > gather_schema_stats yesterdays > > SQL> exec > dbms_stats.gather_schema_stats(ownname=>'MASTER_TEST2',estimate_percent=>20, > degree=>16,cascade=>true,options=>'GATH > ER EMPTY'); > BEGIN > dbms_stats.gather_schema_stats(ownname=>'MASTER_TEST2',estimate_percent=>20, > degree=>16,cascade=>true,options=>'GATHER E > MPTY'); END; > > * > ERROR at line 1: > ORA-06502: PL/SQL: numeric or value error: character string buffer too small > ORA-06512: at "SYS.DBMS_STATS", line 4609 > ORA-06512: at "SYS.DBMS_STATS", line 4732 > ORA-06512: at "SYS.DBMS_STATS", line 4704 > ORA-06512: at line 1 > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: <[EMAIL PROTECTED] > INET: [EMAIL PROTECTED] > > Fat City Network Services -- 858-538-5051 http://www.fatcity.com > San Diego, California -- Mailing list and web hosting services > --------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > ********************************************************************* > This electronic transmission is strictly confidential and intended solely > for the addressee. It may contain information which is covered by legal, > professional or other privilege. If you are not the intended addressee, > you must not disclose, copy or take any action in reliance of this > transmission. If you have received this transmission in error, > please notify the sender as soon as possible. > > This footnote also confirms that this message has been swept > for computer viruses. > ********************************************************************** > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Regis Biassala > INET: [EMAIL PROTECTED] > > Fat City Network Services -- 858-538-5051 http://www.fatcity.com > San Diego, California -- Mailing list and web hosting services > --------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: <[EMAIL PROTECTED] INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).