脚踏实地、勇往直前!
全部博文(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.........【阅读全文】
发布时间:2018-04-28 11:22:53
1.解压[root@pxc01 soft]# tar -xvf sysbench-0.4.12.14.tar.gz[root@pxc01 soft]# cd sysbench-0.4.12.142.运行autogen.sh[root@pxc01 sysbench-0.4.12.14]#./autogen.shautomake 1.10.x (aclocal) wasn't found, exiting解决办法:[root@pxc01 sysbench-0.4.12.14]# yum install automake[root@pxc01 sysbench.........【阅读全文】
发布时间:2018-03-16 09:34:25
环境:OS:CentOS 7db:mongodb 2.6.5-------------------------主库配置------------------------1.安装数据库省略2.主库的配置文件(mongo.cnf)port = 10000fork = truedbpath = /opt/mongodb265/datalogpath = /opt/mongodb265/log/logslogappend = trueshardsvr = truequiet = truekeyFile=/opt/mongodb265.........【阅读全文】