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

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

V$OBJECT_USAGE view for indexes in all schemas

From: Jesse, Rich <Rich.Jesse_at_quadtechworld.com>
Date: Mon, 17 May 2004 15:47:52 -0500
Message-ID: <FBE1FCA40ECAD41180400050DA2BC54004E93989@qtiexch2.qgraph.com>


Hey all,

Looking at implementing Index Monitoring in 9.2.0.5.0 on HP-UX 11.11, = primarily to make a case to drop unused indexes (one particular table = has 17 indexes). So, I ALTER tons of indexes MONITORING USAGE, ignoring = the LOB and Context indexes. All's well, but for some reason, Oracle = decided to make the V$OBJECT_USAGE view so that a user can only see = monitored indexes for their own schema (and I thought Oracle had a = better handle on security in 9i).

So, I create my own view <BZZZZT!>. I can't because 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.

Thoughts?

Rich

Rich Jesse                        System/Database Administrator
rich.jesse_at_quadtechworld.com      QuadTech, Sussex, WI USA

----------------------------------------------------------------
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 - 15:45:31 CDT

Original text of this message

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