Solved

privileges required for running dbms_stats other than sysdba

Posted on 2011-03-08
3
1,313 Views
Last Modified: 2012-05-11
What are previliges required to gather dbms_stats for a normal user.  i dont want to give sysdba ...
0
Comment
Question by:Dba_Oracledb
  • 2
3 Comments
 
LVL 34

Accepted Solution

by:
johnsone earned 250 total points
Comment Utility
If the user that is running DBMS_STATS does not own the object, then I believe you need the ANAYLYZE ANY privilege.
0
 
LVL 3

Assisted Solution

by:CarlsbergFTW
CarlsbergFTW earned 250 total points
Comment Utility
grant execute on dbms_stats to hr
0
 
LVL 3

Expert Comment

by:CarlsbergFTW
Comment Utility
replace "HR" with the user that is supposed to be able to use this pack.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now