ORA-38871: cannot enable flashback before open resetlogs after incomplete recovery.
Cause: To enable flashback on a primary database, the database must be clean without requiring open resetlogs.
Action: Open resetlogs first and then enable flashback database.
。
ORA-38871: cannot enable flashback before open resetlogs after incomplete recovery 错误提示,不能在非完全恢复后打开resetlogs之前启用回滚查询。
1. 首先,应该先恢复数据库,以更新重做日志。
2. 然后,运行SQL语句“alter database open resetlogs”,打开resetlogs并显示更新重做日志的数据。
3. 最后,运行“alter databases flashback on”命令来启用回滚查询。