One Oracle soft enables two Clone Databases

Source: Internet
Author: User

As shown below,
1. Restore the database test to the data volume first.
2. Then shudown test. copy all datafiles, tempfile, and redofile to the yldata volume.
3. Use pfile, open test Library, copy pfile --> ylpfile to change the ylpfile of the rehearsal environment.
Path to point to the datafile of the yldata volume.
4. Use ylpfile open nomount and datafile on the yldata volume.
5. re-create the control file of the yldata Library (note that you need to change the path for executing yldata in datafile and redo in contronfile)
6. alter database open resetlogs. open the database on the yldata volume.
A2bs1010: test> df-h | grep test
/Dev/vx/dsk/test_yl1/testl1_data 200G 123G 76G 62%/db/bank/test/data
/Dev/vx/dsk/test_yl1/testl1_log 200G 3.5G 195G 2%/db/bank/test/log
/Dev/vx/dsk/test_yl2/testl2_data 200G 124G 76G 62%/db/bank/test/yldata

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.