?
Solved

add standby log file

Posted on 2012-03-10
1
Medium Priority
?
1,097 Views
Last Modified: 2012-03-10
Add standby log file

SQL> select group#,member from v$logfile;

    GROUP#
----------
MEMBER
--------------------------------------------------------------------------------
         3
/u01/app/oracle/oradata/orcl11/redo03.log

         2
/u01/app/oracle/oradata/orcl11/redo02.log

         1
/u01/app/oracle/oradata/orcl11/redo01.log



SQL> ALTER DATABASE ADD STANDBY LOGFILE ('/u01/app/oracle/oradata/orcl11/redo01.log') SIZE 52428800;


ALTER DATABASE ADD STANDBY LOGFILE ('/u01/app/oracle/oradata/orcl11/redo01.log') SIZE 52428800
*
ERROR at line 1:
ORA-01577: cannot add log file '/u01/app/oracle/oradata/orcl11/redo01.log' -
file already part of database
0
Comment
Question by:b7dba
1 Comment
 
LVL 23

Accepted Solution

by:
David earned 2000 total points
ID: 37705934
01 is already in use:  
ALTER DATABASE ADD STANDBY LOGFILE ('/u01/app/oracle/oradata/orcl11/redo04.log') SIZE 52428800;

Although I'd prefer to see my logs spread to additional drives, and to have at least two members per group to avoid failure points.  HTH
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question