Time for action – using the ASH report from the standby database

From 11gR2 onwards, the Active Session History report can be created to monitor the performance of a standby database from the standby system. To use this feature, ensure that the database is up-and-running in the Read-Only mode and the session history has retained the memory. Then, you can perform the following steps:

  1. Generate an ASH report using the ashrpt.sql script. Before using this report you must know what parameters we have to pass while the report is running, for example, duration between two dates and times. Use the ashrpt.sql script as follows:
    SQL> @?/rdbms/admin/ashrpt.sql
    Current Instance
    ~~~~~~~~~~~~~~~~
       DB Id    DB Name      Inst Num Instance
    ----------- ------------ -------- ...

Get Oracle Data Guard 11gR2 Administration Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.