Oracle 11g R2之Dataguard搭建物理standby
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Oracle 11g R2之Dataguard搭建物理standby 数据库版本:11.2.0.4 服务器版本:RedHat6.4 主库Primary:安装数据库软件及实例 备库Standby: 仅安装数据库软件 Database DB_UNIQUE_NAME Oracle Net Service Name Primary orcl orcl Physical standby dg dg 一、搭设前主备库环境: 主库Primary: [oracle@oracle dbs]$ cat /home/oracle/.bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH export TMP=/tmp export TMPDIR=$TMP export ORACLE_HOSTNAME=orcl export ORACLE_UNQNAME=orcl export ORACLE_BASE=/u01/oracle