Home
All Oracle Error Codes
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

Re: V$OBJECT_USAGE view for indexes in all schemas

Mladen Gogala

2004-05-17

Replies:
Which version? In 9.2.0.5 I can access object_usage from another DBA user.
Here is how it works:

SQL> connect mgogala
Enter password:
Connected.
SQL> select * from sys.object_usage;

no rows selected

SQL>
SQL> desc sys.object_usage
Name                         Null?   Type
----------------------------------------- -------- ---------------------------- OBJ#                         NOT NULL NUMBER
FLAGS                         NOT NULL NUMBER
START_MONITORING                       VARCHAR2(19)
END_MONITORING                         VARCHAR2(19)

SQL>

All you need, besides love, is the way to interpret the "flag" column.
This might be helpfull:

SQL> select view_name,text from dba_views
2 where view_name='V$OBJECT_USAGE';

VIEW_NAME
------------------------------
TEXT
--------------------------------------------------------------------------------
V$OBJECT_USAGE
select io.name, t.name,
    decode(bitand(i.flags, 65536), 0, 'NO', 'YES'),


In other words, I believe that your problem is in the version. As Rajendra and Wolfgang
have proven, you should upgrade to the version which doesn't know how to merge the query
and a subquery. May the force be with you.

--
Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

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