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
compile dba_data_files

compile dba_data_files

2005-07-07       - By Kirtikumar Deshpande

Reply:     1     2     3     4  

Hi...

AFAIK stats on dictionary objects are supported in 10g.

I would consider rerunning (as sys) the catalog.sql to correct dba_data_files
view.

That is much safer approach, IMHO.

Cheers!

- Kirti


--- shirish@(protected) wrote:


-- ---- ---- ---- ---- ---- -----
Oracle does supports collecting stats on dict objects

but in your case it looks like that you have some issues withobj$

does you dba_objects works fine ?

better is to do

1)analyze the obj$
2) if it fails then take a 10046 or
3)set a errorstack for 4043

in case obj$ is corrupted then it you need to patch the dict orrestore recover
from a
good known backup .....

Regards
Shirish




-- ----- Original Message -- -----
Subject:compile dba_data_files
From: Prem<premjhere@(protected)>
Date: Thu, July 07, 2005 7:38 am
To:oracle-l <oracle-l@(protected)>

Hi all ,

it's on9.2.0.6.

SQL > desc dba_data_files
ERROR:
ORA-04043 (See ORA-04043.ora-code.com):object dba_data_files does not exist

so one of my friend did a

SQL> alter view dba_data_files compile ;

though iterred out saying "unique key violation in OBJ$" , the next time

SQL > desc dba_data_files

worked .

my questionis , can we compile data dictionary views like this ?
OR it is to beavoided strictly ? does oracle support this ?

Pleaseadvice.

TIA.
Prem
--
http://www.freelists.org/webpage/oracle-l--http://www.freelists.org/webpage
/oracle-l



   
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____
Sell on Yahoo! Auctions ? no fees. Bid on great items.  
http://auctions.yahoo.com/
--
http://www.freelists.org/webpage/oracle-l