Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> V$OBJECT_USAGE view for indexes in all schemas
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 USAPlease see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
![]() |
![]() |