Applications Systems

Disable Oracle AWR for DPA

This article details the process to disable AWR from executing on an Oracle database.

First published date

11/21/2018 10:42 PM

Last published date

11/21/2018 10:42 PM

Overview

This article details the process to disable AWR from executing on an Oracle database.

Product section

Database Performance Analyzer

Resolution

  1. Set STATISTICS_LEVEL parameter to BASIC.
  2. Run the CATNOAWR.sql script to drop the AWR Repository tables.
  3. Execute DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS(interval=>0).
  4. Download dbms_awr.plb from Metalink, compile this package and execute the PL/SQL package DBMS_AWR.DISABLE_AWR() [see Metalink note 436386.1].
  5. This does not work for an existing database, but does for future databases: Create your own database creation scripts (do not utilize DBCA) and do not execute the CATAWRTB.sql script.

 

Information contained is property of ORACLE© (© 2016 ORACLE© available at http://www.oracle.com/, obtained on November 23, 2015.)

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you or your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third party customers. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.