Solved

log_archive_dest

Posted on 2013-05-24
3
374 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
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

821 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