How to reconfigure the redo log location

Source: Internet
Author: User

How to reconfigure the redo log location 1. shut down database shutdown2. use the OS command to copy redo log files to the new location mv/u01/app/oracle/oradata/MYNEWDB/onlinelog/o1_mf_1_89y70t1b _. log/home/o1_mf_000089y70t1b_test.log3. start the database, load only, do not open. CONNECT/as sysdbastartup mount 4. RENAME redo log memberALTER database rename file '/u01/app/oracle/oradata/MYNEWDB/onlinelog/o1_mf_1_89y70t1b _. log 'TO'/home/ow.mf_000089y70t1b_test.log '; 5. open the database alter database open; 6. check whether you have switched to the new location. SQL> select * from v $ logfile; rows will be truncated GROUP # status type member ---------- ------- starting 3 ONLINE/u01/app/oracle/oradata/MYNEWDB/onlinelog/o1_mf_3_814 2 ONLINE/u01/app/oracle/oradata/ MYNEWDB/onlinelog/o1_mf_2_814 1 ONLINE/home/o1_mf_1_89y70t1b_test.log 4 ONLINE/u01/app/oracle/oradata/MYNEWDB/onlinelog/o1_mf_4_8b3

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.