Operating System - HP-UX
1753288 Members
5455 Online
108792 Solutions
New Discussion

Re: Adding redo log file on primary database.

 
Massimo Bianchi
Honored Contributor

Re: Adding redo log file on primary database.

PROBLEM
-------
You can resize the online redolog on the Primary Database by creating another
redolog group (see Note: 1035935.6); however, how does this additional group
get propogated over to the Standby Database?


SOLUTION
--------
The goal is to prepare the Standby Database for when it will be activated.

You need only copy the new group of redolog on the standby database. This
will preserve the size of redolog file before activing the Standby Database.

If you configured the init.ora parameter LOG_FILE_NAME_CONVERT on your
Standby Database, then this will match with the directory of the Primary
Database, so you'll not need to do anything.

If the name of any of the redolog files differs from the Primary Ddatabase,
then follow these steps:
o startup nomout standby pfile=init.ora
o ALTER DATABASE STANDBY MOUNT
o ALTER DATABASE RENAME FILE '' TO ''
o RECOVER STANDBY DATABASE...

All of the steps above are valid in the situation where a member has been added
to the existing group of online redologs on the Primary Database as well.


RELATED DOCUMENTS
-----------------
Note: 1035935.6
Backup & recovery guide


Yogeeraj_1
Honored Contributor

Re: Adding redo log file on primary database.

hi,

to add to above replies,

Note that you can also multiplex them by simply creating groups with more then 1 member in them.


For example it might look like:


yd@MYDB.MU> alter database add logfile
group 4 ( '/d02/oradata/ora734/redo04.log',
'/d04/oradata/ora734/redo04.log' )
size 10m;

Database altered.


That added a group with 2 members. they are now multiplexed. You can just add members to existing groups as well.

The IMPORTANT thing is to make sure the members of the groups are on DIFFERENT physical devices -- else you are defeating the purpose of multiplexing them in the first place (recovery from media failure)

hope this helps too!

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)