Error Trying To Run Awr On Primary Database
(Doc ID 2943646.1)
Last updated on MAY 16, 2023
Applies to:Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and later
Information in this document applies to any platform.
Received below error when trying to run awr snapshots from primary database:
SQL> EXECUTE dbms_workload_repository.create_snapshot();
BEGIN dbms_workload_repository.create_snapshot(); END;
ERROR at line 1:
ORA-13516: AWR Operation failed: Database registered for remote snapshots
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 99
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 145
ORA-06512: at line 1
But it is running from remote database:
SQL> exec dbms_workload_repository.create_remote_snapshot('CDELTAP_b2h_fra');
PL/SQL procedure successfully completed.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document