- 博客(6)
- 收藏
- 关注
原创 hot standby 切换
1、切换[root@pg2 ~]# cd /tmp/[root@pg2 tmp]# touch postgresql.trigger.5432 2、确认切换是否成功1)查看recovery文件[root@pg2 tmp]# cd /u01/pg9.1/data[root@pg2 data]# lsrecovery.done2)查看recovery的状态[r
2012-02-28 15:47:26 392
原创 hot standby
环境描述主服务器IP:192.168.1.200/24计算机名称:pg1操作系统:linux数据库:postgresql-9.1.2备服务器IP:192.168.1.201/24计算机名称:pg2操作系统:linux数据库:postgresql-9.1.2Hot standby配置Primary[root@pg1 ~]# su – postgre
2012-02-28 15:46:07 516
原创 postgresql数据库安装
postgreSQL数据库安装1、安装程序[root@test ~]# cd /[root@test /]# mkdir files[root@test /]# cd files/[root@test files]# wget http://192.168.1.2/flex-2.5.35.tar.bz2[root@test files]# wget http://192
2012-02-28 15:44:56 515
原创 Failover切换
Failover切换 1、 确认运行在最大性能模式 SQL> select database_role,protection_mode,protection_level from v$database;2、 若原主库主机还可进入,执行以下语句,否跳过此步骤。 SQL> select
2012-02-16 02:30:32 410
原创 Switchover 切换步骤
Switchover 切换步骤 1、 查询主从数据库数据是否已经同步 SQL> select max(sequence#) from v$archived_log;SQL> select sequence#,applied from v$archived_log order by
2012-02-16 02:29:42 1261
原创 oracle win2003 dataguard配置
Dataguard配置 环境描述主服务器操作系统:win2003计算机名称:primaryIP地址:192.168.1.1Oracle版本9i数据库实例:wbi备服务器操作系统:win2003计算机名称:standbyIP地址:192.1
2012-02-14 20:48:09 1065
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人