Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ** find whether table or index being accessed
Tanel,
Raj must be talking about userenv('SCHEMAID'). Change that to another user's user_id as seen in dba_users, you should see that user's object usage:
SQL> select * from v$object_usage;
no rows selected
SQL> select io.name, t.name,
2 decode(bitand(i.flags, 65536), 0, 'NO', 'YES'), 3 decode(bitand(ou.flags, 1), 0, 'NO', 'YES'), 4 ou.start_monitoring, 5 ou.end_monitoring
NAME NAME DEC DECSTART_MONITORING END_MONITORING
------------------------------ ------------------------------ --- --- ------------------- ------------------- AGENT_LICENSE_STATEPRDNO_IND AGENT_LICENSE YES YES11/18/2003 10:06:27
Yong Huang
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Yong Huang INET: yong321_at_yahoo.com 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: ListGuru_at_fatcity.com (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).Received on Wed Nov 19 2003 - 09:10:00 CST
![]() |
![]() |