Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Not quite fluff - dbms_stats

Not quite fluff - dbms_stats

2004-03-04       - By Koivu, Lisa

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hi Raj,
Well, yes! It 's SYS and SYSTEM that I 've tried to execute this as.

-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)]
Sent: Thursday, March 04, 2004 3:17 PM
To: oracle-l@(protected)
Subject: RE: Not quite fluff - dbms_stats

is 'analyze any ' granted to the user importing the stats??

Raj
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
-- -----
Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
select standard_disclaimer from company_requirements;
QOTD: Any clod can have facts, having an opinion is an art !


-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)]On Behalf Of Koivu, Lisa
Sent: Thursday, March 04, 2004 1:07 PM
To: oracle-l@(protected)
Subject: 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 (See ORA-20000.ora-code.com): Insufficient privileges to analyze an object
within the database
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 4914
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 4943
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 5460
ORA-06512 (See ORA-06512.ora-code.com): at line 1


trdev-SYS >SHOW USER
USER is "SYS "
trdev-SYS >CONNECT SYSTEM@(protected)
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 (See ORA-20000.ora-code.com): Insufficient privileges to analyze an object
within the database
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 4914
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 4943
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 5460
ORA-06512 (See ORA-06512.ora-code.com): at line 1


trdev-SYS >

-- --Original Message-- --
From: Wolfgang Breitling [mailto:breitliw@(protected)]
Sent: Thursday, March 04, 2004 11:21 AM
To: oracle-l@(protected)
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


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

"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@(protected)
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

"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@(protected)
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --