I am in the process of moving a small database to Oracle 9.0.1.3.  I have installed my 
own space management spaces.  It  measures growth of objects and tablespace usage and 
works well in Oracle 8i.  The package does not work well with the 9i SYS tables; it 
returns "table or view does not exist",
when calling dbms_space.unused_space.  I'm not sure if this is for all SYS tables or 
just a few.

  The owner of the package has select any table, select any dictionary, and I even 
tried the "under any view" privilege,  but no luck.  The select any table privilege, 
N.B., this is a privilege not a role, which obviously must be judiciously given, 
allowed, one running Oracle 8i to write packages referencing SYS objects without 
having to do individual grants on the tables.  It is still doing so for non-SYS 
tables, the calls to dbms_space work fine for them.  Any idea on the SYS tables?  Must 
they be granted individually?


Ian MacGregor
Stanford Linear Accelerator Center
[EMAIL PROTECTED]

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: MacGregor, Ian A.
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (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).

Reply via email to