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

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

Re: Minimum privileges to run utlbstat and utlestat

From: Brian Peasland <peasland_at_edcmail.cr.usgs.gov>
Date: Wed, 29 Nov 2000 14:01:30 GMT
Message-ID: <3A250C3A.8A42F6E3@edcmail.cr.usgs.gov>

I've never done this as some user other than one who has DBA privileges. But you can fix this easily by granting the SELECT ANY TABLE privilege to the user. Or you can manually grant the privileges to the ts$ and file$ tables.

HTH,
Brian

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.
 

-- 
========================================
Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my 
company!
========================================
Received on Wed Nov 29 2000 - 08:01:30 CST

Original text of this message

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