脚踏实地、勇往直前!
全部博文(1005)
发布时间:2018-05-19 09:01:42
从库报错,错误号为1062,违反唯一性约束mysql> show slave status \G;*************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Mast.........【阅读全文】
发布时间:2018-05-11 08:51:01
1.停掉主从相应进程主:GGSCI (host01) 14> stop extract EORA_1GGSCI (host01) 15> stop extract PORA_1从:GGSCI (host02) 11> stop replicat rora_13.删除从库库的表数据Delete From BONUS t;Delete From emp;Delete From salgrade;Delete From dept;2.主库创建expdmp导出目录create directory backdir as.........【阅读全文】
发布时间:2018-05-11 07:58:53
1.删除备库的表数据2.主库导出exp查看scnselect dbms_flashback.get_system_change_number from dual;---------------------1206679exp userid=system/oracle file=/u01/app/scott02.dmp tables=scott.DEPT,scott.EMP,scott.BONUS,scott.SALGRADE FLASHBACK_SCN=1206679 CONSTRAINTS=N GRANTS=N TRIGGERS=N LOG=/u.........【阅读全文】