Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Not quite fluff - dbms_stats
Hi Wolfgang,
Really? Here's my errors
trdev-SYS>exec sys.dbms_Stats.import_database_stats( -
> stattab=>'DATABASE_STATS', STATID=>'030404',STATOWN=>'SYSTEM');
BEGIN sys.dbms_Stats.import_database_stats( stattab=>'DATABASE_STATS',
STATID=>'030404',STATOWN=>'S
*
ERROR at line 1:
ORA-20000: Insufficient privileges to analyze an object
within the database
ORA-06512: at "SYS.DBMS_STATS", line 4914 ORA-06512: at "SYS.DBMS_STATS", line 4943 ORA-06512: at "SYS.DBMS_STATS", line 5460 ORA-06512: at line 1
trdev-SYS>SHOW USER
USER is "SYS"
trdev-SYS>CONNECT SYSTEM_at_TRDEV
Enter password: *********
Connected.
trdev-SYS>exec sys.dbms_Stats.import_database_stats( -
> stattab=>'DATABASE_STATS', STATID=>'030404',STATOWN=>'SYSTEM');
BEGIN sys.dbms_Stats.import_database_stats( stattab=>'DATABASE_STATS',
STATID=>'030404',STATOWN=>'S
*
ERROR at line 1:
ORA-20000: Insufficient privileges to analyze an object
within the database
ORA-06512: at "SYS.DBMS_STATS", line 4914 ORA-06512: at "SYS.DBMS_STATS", line 4943 ORA-06512: at "SYS.DBMS_STATS", line 5460 ORA-06512: at line 1
trdev-SYS>
-----Original Message-----
From: Wolfgang Breitling [mailto:breitliw_at_centrexcc.com]
Sent: Thursday, March 04, 2004 11:21 AM
To: oracle-l_at_freelists.org
Subject: Re: Not quite fluff - dbms_stats
What does not work. I do it all the time.
At 08:55 AM 3/4/2004, you wrote:
>Hi everyone,
>
>Well, here I was executing the steps to copy over stats from production
>to test. Deleted my test db stats, trying to import... tried and
tried,
>database level, schema level, <ack> table level... and I learned
>something today: bug 2879839 says that this blatantly does not work.
I
>tried creating the trace files, got 135M of gook. Suppossedly this is
>fixed in 10g.
>
>Has anyone ever gotten this to work? I'm really disappointed.
Wolfgang Breitling
Oracle7, 8, 8i, 9i OCP DBA
Centrex Consulting Corporation
http://www.centrexcc.com
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- "The sender believes that this E-Mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking proactive and remedial action about viruses and other defects. The sender's business entity is not liable for any loss or damage arising in any way from this message or its attachments." ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu Mar 04 2004 - 13:29:33 CST
![]() |
![]() |