ORA-16794: database guard is on for primary database
Cause: The database guard was turned on for the primary database.
Action: Issue the ALTER DATABASE GUARD NONE command to turn off the guard and verify that Data Guard health check error or warning is cleared.
ORA-16794: database guard is on for primary database是由数据库守护启用所导致的一个错误。数据库守护用于检测出现在原始数据库上的突变,并阻止其进一步传播到备份数据库,以确保备份数据库保持一致性。
1.禁用主数据库上的数据库守护,以便可以继续进行联机备份或移动数据文件或分区表空间:
SQL > ALTER SYSTEM DISABLE DATABASE GUARD;
2.运行RMAN操作:
RMAN > BACKUP DATABASE;
3. 将数据库守护重新启用:
SQL > ALTER SYSTEM ENABLE DATABASE GUARD;