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

Home -> Community -> Usenet -> c.d.o.server -> Re: Minimum privileges to run utlbstat and utlestat

Re: Minimum privileges to run utlbstat and utlestat

From: David Fitzjarrell <oratune_at_aol.com>
Date: Tue, 28 Nov 2000 23:46:40 GMT
Message-ID: <901g4u$mdq$1@nnrp1.deja.com>

In our last gripping episode xo55ox_at_hotmail.com wrote:
> Hi,
>
> What are the minimum privileges required for a user to run the
> utlbstat.sql and utlestat.sql if I don't want the scripts to be run
> under sys or system user?
>
> Currently, I have a user X who has CONNECT, RESOURCE and
> SELECT_CATALOG_ROLE privileges. But once the SQL statement tries to
> select from v$filestat, ts$, v$datafile and file$ all together to
 create
> a view, it fails with ora-01031 insufficient privileges. I did try to
> grant select object privilege on ts$ and file$ to the user. And I am
> able to select v$filestat and v$datafile manually. Am I still missing
> some privileges? How can I fix it?
>
> Any information/help will be highly appreciated.
>
> Thanks in advance.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

Usually DBA accounts have no problem executing utlbstat/utlestat. Remember that utlbstat/utlestat were written to run from svrmgrl, not sqlplus. I would query ROLE_SYS_PRIVS where role = 'DBA' to determine what privileges a DBA has in the database.

--
David Fitzjarrell
Oracle Certified DBA


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Tue Nov 28 2000 - 17:46:40 CST

Original text of this message

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