Skip to Content
author's profile photo Former Member
Former Member

change redolog file name or format

hi experts,

I would like to know how I can change the filename format for our redolog files. Can someone tell me of the exact directory and filename for this requirement? I have to change the parameter log_archive_format.

Thanks in advance!

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 25, 2011 at 12:53 AM

    Hi,

    1. DO SQL> archive log list;

    2. If archiving is switch on swith off.

    3. Reset the parameter log_archive_format by the following command

    alter system reset log_archive_format scope=both;

    4. Change the path by the following command

    alter system set log_archive_format=<desired value> scope = both;

    5. shutdown immediate

    6. startup mount

    7. enable archiving

    alter database archivelog;

    8. alter database open;

    9 test by generating a archive log file

    alter system swith logfile;

    10 check the contents of your oraarch directory

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 24, 2011 at 05:15 PM

    Hi,

    As per SAP recommendation, offline redo log files should have format %t_%s_%r.dbf which is govern by the parameter log_archive_format. Same you can set in spfile/pfile.

    Thanks

    Sunny

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi sunny,

      Im under location E:\oracle\<SID>\102\admin\sample\pfile and filename is inismpl.ora. the parameter log_archive_format is starting with a '#' character does it mean that it is commented out? im new to these sorry for that question. and also, am I in the right directory?

      Thank you

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.