switchover内部在做什么?
在switchover的时候,把主库切换到备库需要执行下面一个statementalter database commit to switchover to physical standby with session shutdown; 我遇到一种情况,主库有几个数据文件是offline的,执行这个语句的时候报 ora-1135的错误。我这没有DG的环境,大家谁有测试环境帮忙trace下,看看这个语句在执行的时候,oracle在做什么?需要去把每个文件都访问一遍吗? ps: ORA-01135: "file %s accessed for DML/query is offline" Cause: Attempted to access a data file that is offline Action: Bring the data file back online
|