Data Guard 26ai – #19: Easy AWR snapshots on the standby

This post is part of a blog series.

With release 26ai, generating AWR reports from Active Data Guard standby databases is now simple and direct, without extra configuration required.

Previously, starting in version 12c Release 2, you had to set up DB links and use the Remote Management Framework (RMF) with the DBMS_UMF package to let the primary database collect remote AWR snapshots from standby databases. This process, documented in MOS note 2409808.1 How to Generate AWRs in Active Data Guard Standby Databases (now KB140685), was complex and could lead to non-working state, especially after failovers.

Now, you can generate reports right on the standby database. Because the standby is open read-only, we export snapshots to a dump file, transfer them internally to the primary using Data Guard communication, and import them there for reporting.

You can AWR snapshots on the standby using the same DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT command as the primary.

The following two tabs change content below.

Ludovico

Principal Product Manager at Oracle
Ludovico is a member of the Oracle Database High Availability (HA), Scalability & Maximum Availability Architecture (MAA) Product Management team in Oracle. He focuses on Oracle Data Guard, Flashback technologies, and Cloud MAA.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.