Solved

log_archive_dest

Posted on 2013-05-24
3
376 Views
Last Modified: 2013-06-04
ideally where is log_archive_dest


my oracle home is
[oracle@mac primary]$ cd $ORACLE_HOME
[oracle@mac db_1]$ pwd
/u01/app/oracle/product/11.2.0/db_1
[oracle@mac db_1]$
SQL> show parameter log_archive_dest_1;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_1                   string
log_archive_dest_10                  string
log_archive_dest_11                  string
log_archive_dest_12                  string
log_archive_dest_13                  string
log_archive_dest_14                  string
log_archive_dest_15                  string
log_archive_dest_16                  string
log_archive_dest_17                  string
log_archive_dest_18                  string
log_archive_dest_19                  string
SQL>



I want to give values to log_archive_dest

"which directory is good for that....
0
Comment
Question by:walkerdba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39195533
The docs:
http://docs.oracle.com/cd/E11882_01/server.112/e25513/initparams122.htm#REFRN10085

If LOG_ARCHIVE_DEST is not explicitly defined and all the LOG_ARCHIVE_DEST_n parameters have null string values, LOG_ARCHIVE_DEST is set to an operating system-specific default value on instance startup.

http://docs.oracle.com/cd/E11882_01/server.112/e25494/archredo004.htm#ADMIN11338

Specifying Archive Destinations


>>"which directory is good for that....

Pick one.  There is no hard and fast rule on where they go.

Typically you want them in the same basic folder structure that your other database files are.  You also want to try to get them on different disks so writing to them doesn't interfere with normal database activity.
0
 
LVL 15

Accepted Solution

by:
Franck Pachot earned 500 total points
ID: 39196251
Hi,

It's a good idea to use the recovery area.
Can you show parameter db_recovery_file_dest

If it's ok then set log_archive_dest='LOCATION=USE_DB_RECOVERY_FILE_DEST'
 The big advantage is that you can use archive deletion policy with that.

Regards,
Franck.
0
 

Author Closing Comment

by:walkerdba
ID: 39219946
yes
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to take different types of Oracle backups using RMAN.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

615 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