José Valerio Oracle Technology

Archive for the ‘Scripts’ Category

AWR – Examples of how to get top resources and other information

04.05.2010 · Posted in Performance, RDBMS, Scripts, Tip

Some useful awr queries, change according your needs. Top 10 queries by resource usage across all executions SELECT * FROM   (SELECT   SQL_ID, SUM(disk_reads_delta) AS “Disk Reads” FROM     DBA_HIST_SQLSTAT S WHERE    SNAP_ID > 209 AND SNAP_ID <= 210 AND S.MODULE = ‘ClaimCenter’ GROUP BY SQL_ID HAVING   SUM(disk_reads_delta) >= 0 ORDER BY 2 DESC) DERIVED_TABLE WHERE  ROWNUM ...

Comments Off

RAC Parallel – Part One

10.26.2009 · Posted in 10g R1, 10g R2, 11g R1, 11g R2, RAC, Scripts, Tip

Parallel in standalone Databases The parallel options invoke multiple processes to utilize spare system resources to reduce the time required to complete tasks or jobs. The parallel options do not reduce the amount of resources required by the processing; rather, they spread the processing burden across multiple CPUs. In order to get the most benefit ...

Comments Off

RAC cold Backup using RMAN

07.03.2009 · Posted in General, RDBMS, Scripts

(From my old blog, very popular !) A very trivial procedure to do this: # José Valerio – April, 2007 # Before: Stop cluster database # 1. Mount your cluster DB in the node where you # will perform the backup. # 2. Modify backup and format destinations (show channel) # 3. Connect RMAN (nocatalog ...

Copy Protected by Chetan's WP-CopyProtect.