"Practice" Migrating log groups

Source: Internet
Author: User

The migration log group must be in the state of the database mount

Sql> shutdownImmediateDatabaseclosed.Databasedismounted. ORACLE instance shut down. SQL>Startup Mountoracle instance started. Total System Global Area830930944bytesfixed Size2257800bytesvariable Size536874104bytesDatabaseBuffers289406976Bytesredo Buffers2392064bytesDatabaseMounted.

1. Copy

[[email protected] ora11gr2] /u01/app/Oracle/oradata/ora11gr2/redo01. Log /u01/app/Oracle/redo01. Log

2. Update redo information in the control file

SQL>alterdatabasefile'/u01/app/oracle/oradata/ora11gr2/ Redo01.log' to'/u01/app/oracle/redo01.log'; Database altered.

3. Starting the Library

SQL>alterdatabaseopen; Database altered.

"Practice" Migrating log groups

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: info-contact@alibabacloud.com 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.