Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to sort list of files on basis of their sizes. Linux/Unix
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • Generating XML from SQLPLUS Oracle
  • SAN Linux/Unix
  • Alter procedure auditing Oracle
  • move_arch_files.ksh Linux/Unix
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • ORA-01220 Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • find_idle_cpu.sql Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Specify the Rollback segment to use in Transaction Oracle
  • reset Sequence Oracle

In Addition to previous note, following grants needed on PERFSTAT user.

Posted on 16-Jan-2006 By Admin No Comments on In Addition to previous note, following grants needed on PERFSTAT user.

/* System privileges */

grant create session to PERFSTAT;

grant alter session to PERFSTAT;

grant create table to PERFSTAT;

grant create procedure to PERFSTAT;

grant create sequence to PERFSTAT;

grant create public synonym to PERFSTAT;

grant drop public synonym to PERFSTAT;

/* Select privileges on STATSPACK created views */

grant select on X_$KCBFWAIT to PERFSTAT;

grant select on X_$KSPPSV to PERFSTAT;

grant select on X_$KSPPI to PERFSTAT;

grant select on X_$KSQST to PERFSTAT;

grant select on V$FILESTATXS to PERFSTAT;

grant select on V$TEMPSTATXS to PERFSTAT;

grant select on V$SQLXS to PERFSTAT;

/* Roles */

grant SELECT_CATALOG_ROLE to PERFSTAT;

/* Select privs for catalog objects – ROLES disabled in PL/SQL packages */

grant select on V_$PARAMETER to PERFSTAT;

grant select on V_$SYSTEM_PARAMETER to PERFSTAT;

grant select on V_$DATABASE to PERFSTAT;

grant select on V_$INSTANCE to PERFSTAT;

grant select on V_$LIBRARYCACHE to PERFSTAT;

grant select on V_$LATCH to PERFSTAT;

grant select on V_$LATCH_MISSES to PERFSTAT;

grant select on V_$LATCH_CHILDREN to PERFSTAT;

grant select on V_$LATCH_PARENT to PERFSTAT;

grant select on V_$ROLLSTAT to PERFSTAT;

grant select on V_$ROWCACHE to PERFSTAT;

grant select on V_$SGA to PERFSTAT;

grant select on V_$BUFFER_POOL to PERFSTAT;

grant select on V_$SGASTAT to PERFSTAT;

grant select on V_$SYSTEM_EVENT to PERFSTAT;

grant select on V_$SESSION to PERFSTAT;

grant select on V_$SESSION_EVENT to PERFSTAT;

grant select on V_$SYSSTAT to PERFSTAT;

grant select on V_$WAITSTAT to PERFSTAT;

grant select on V_$SQLAREA to PERFSTAT;

grant select on V_$SQL to PERFSTAT;

grant select on V_$SQLTEXT to PERFSTAT;

grant select on V_$SESSTAT to PERFSTAT;

grant select on V_$BUFFER_POOL_STATISTICS to PERFSTAT;

/* Packages */

grant execute on DBMS_SHARED_POOL to PERFSTAT;

grant execute on DBMS_JOB to PERFSTAT

Oracle, SQL scripts

Post navigation

Previous Post: Removing first line
Next Post: New Latest Param.sql for finding all hidden parameters also

Related Posts

  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • Oracle 10g Wait Model Oracle
  • RAC 11g with vmware Oracle
  • sqlnet.ora paramters Oracle
  • Giving Grant on v$DATABASE Oracle
  • get_aix_vmstat.ksh Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Building Our Own Namespaces with “Create Context” Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • cp_filesystem.sql Oracle
  • refre.sql Oracle
  • Drop database in Oracle 10g Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme