QuestionQ23

VerifiedManage Database Availability

A database instance is using an SPFILE. Review this parameter:

Question Image

You intend to multiplex the control file to this new location: /u01/app/oracle/oradata/cdb1/disk3/control03.ctl/.

Review these possible steps, which are in random order:

  1. Shut down the database instance.
  2. Issue ALTER SYSTEM SET CONTROL_FILES= /u01/app/oracle/oradata/cdb1/disk1/control01.ctl, /u01/app/oracle/oradata/cdb1/ disk2/control02, /u01/app/oracle/oradata/cdb1/disk3/control03.ctl SCOPE=SPFILE;.
  3. Issue ALTER SYSTEM SET CONTROL_FILES= /u01/app/oracle/oradata/cdb1/disk1/control01.ctl, /u01/app/oracle/oradata/cdb1/disk2/control02.ctl, /u01/app/oracle/ oradata/cdb1/disk3/control03.ctl;.
  4. Copy the control file from its existing location to /u01/app/oracle/oradata/cdb1/disk3/control03.ctl.
  5. Mount the database.
  6. Open the database.

Identify the required steps, in the correct order, to complete the task.

Explanation

CONTROL_FILES is a static initialization parameter, so with an SPFILE its changed value must be recorded using SCOPE=SPFILE and takes effect at the next restart. The database must be shut down before an existing control file is copied, ensuring it cannot change during the copy. On opening after the restart, the instance reads the updated CONTROL_FILES list and maintains the added copy. Oracle documents both the shutdown-before-copy requirement and that an additional multiplexed control file is created by copying an existing file and adding its name to CONTROL_FILES.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!