Solved

log_archive_dest

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

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

Suggested Solutions

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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…

751 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