Solved

add standby log file

Posted on 2012-03-10
1
992 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 500 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

705 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now