Multiplexing Control File

Source: Internet
Author: User

Manually add control files
Method 1,
1. Modify the control file information in the parameter file spfile.
SQL> alter system set control_files =
'/Database/oradata/yang/control01.ctl ',
'/Database/oradata/yang/control02.ctl ',
'/Database/oradata/yang/control03.ctl ',
'/Database/control04.ctl' scope = spfile;
2. The cp control file must be properly shut down (otherwise, the newly added control file is different from the original control file SCN)
SQL> shutdown immediate
SQL> host cp/database/oradata/yang/control01.ctl
/Database/control04.ctl
3. Start database viewing
SQL> startup
SQL> show parameter control;
Or fuzzy query SQL> select value from v $ parameter where name like 'control _ files ';

Method 2
Use the original spfile file to create a pfile file and use the vi editor to modify the control file information in the pfile file. Then, use the pfile file to create the spfile file and close the database normally, copy the control file to a new location.

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.