注意:故障转移会破坏DG的主从关系,使其变为互不相关的2个数据库,谨慎使用. (一)故障转移操作流程图 (二)故障转移操作流程 备注:以下操作步骤与上面流程图步骤一一对应 STEP1:刷新所有未发送到备库的日志到备库 如果主库还可以启动到mount状态,则刷新所有未发送的归档日志和在线redo日志到备库.如果这一步成功了,则可以保证数据零丢失. 如果主库不能mount,则执行第2步. 使用如下命令刷新redo日志到备库: SQL> ALTER SYSTEM FLUSH REDO TO 'targ
1. ORA-27102: out of memory 创建pfile文件: create pfile from spfile: 修改pfile文件 修改文件/home/oracle/app/oracle/product/10g/dbs/initradius.ora pga,sga 大小 使用pfile来启动数据库 startup pfile='/home/oracle/app/oracle/product/10g/dbs/initradius.ora'; 从spfile同步pfile文件, c
为了调查Oracle 的故障,可以通过设置event ,来了解详细的状况.方法如下: ■ 如果使用 SPFILE, =============To enable it: 1. Check the current event setting status: SQL> show parameter event; 2. Add an event and set it up: If there is no existing event, it is set as follows:SQL> alter
在配置监听的时候尝试了很多次都是不能创建,最后将 /data/oracle/product/11.2.0/db_1/network/admin目录下的listener.ora和tnsname.ora两个文件改了个名字就可以了 报错 ORA-01078: failure in processing system parametersLRM-00109: could not open parameter file '/data/oracle/product/11.2.0/db_1/dbs/inito
https://www.cnblogs.com/gaojian/p/7619960.html 为了调查Oracle 的故障,可以通过设置event ,来了解详细的状况.方法如下: ■ 如果使用 SPFILE, =============To enable it: 1. Check the current event setting status: SQL> show parameter event; 2. Add an event and set it up: If there is no ex
目前接手的几个项目中,默认使用的oracle RAC数据库服务,均不能实现自动的会话转移,尤其是对于应用的长连接,一旦发生数据库故障,需要重启应用.实际11G具备会话迁移机制,为此做了如下配置测试,供参考使用.◆创建一个测试用户test[oracle@hencrnopdb1 ~]$sqlplus / as sysdbaSQL> create user test identified by test;User created.SQL> grant dba to test;Grant succee