Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: V$OBJECT_USAGE view for indexes in all schemas

RE: V$OBJECT_USAGE view for indexes in all schemas

From: Jacques Kilchoer <Jacques.Kilchoer_at_quest.com>
Date: Mon, 17 May 2004 17:09:15 -0700
Message-ID: <B5C5F99D765BB744B54FFDF35F60262109F8785A@irvmbxw02>


What do you mean by "SYS.OBJECT_USAGE table cannot be changed, apparently including GRANTs."
Are you signing on as SYSDBA and issuing the command "GRANT SELECT ON OBJECT_USAGE TO MYUSER;" ? (you could also grant MYUSER the system privilege SELECT ANY DICTIONARY) That privilege should allow you to create your own copy of V$OBJECT_USAGE in schema MYUSER.

-----Original Message-----

Jesse, Rich

... Oracle =
decided to make the V$OBJECT_USAGE view so that a user can only see monitored indexes for their own schema

...

 the
SYS.OBJECT_USAGE table cannot be changed, apparently including GRANTs. I'd paste the error here, but when I try it again, I get an ORA-600. Oracle's solution is to create a new V$ view in SYS. I make it a habit to not mess with SYS unless I have to.



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 Mon May 17 2004 - 19:06:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US