Oracle OCP 1Z0 053 Q77(ASM&Shutdown Immediate)

abstractcyj發表於2016-04-02
77.You have three production databases, HRDB, FINDB, and ORGDB, that use the same ASM instance.
At the end of the day, while all three production database instances are running, you execute the following
command on the ASM instance :
SQL> shutdown immediate;
What is the result of executing this command?
A. The ASM instance is shut down, but the other instances are still running.
B. It results in an error because other database instances are connected to it.
C. All the instances, including the ASM instance, are shut down in the IMMEDIATE mode.
D. HRDB, FINDB, and ORGDB instances are shut down in the ABORT mode and the ASM instance is
shut down in the IMMEDIATE mode.
Answer: B

1Z0-053 Q711考察的shutdown abort

Shutdwn immediate:當還有資料庫例項連線ASM例項時,會出錯。ASM例項並不會被關閉。
shutdown abort: ASM例項關閉, 同時下次啟動時需要進行例項恢復。同時,會導致連線的資料庫例項以shutdown abort的形式關閉

官方文件:http://docs.oracle.com/database/121/OSTMG/GUID-9C2208C8-B436-4A18-A5D7-0CE854751529.htm#OSTMG13640

  • NORMAL Clause

    Oracle ASM waits for any in-progress SQL to complete before performing an orderly dismount of all of the disk groups and shutting down the Oracle ASM instance. Before the instance is shut down, Oracle ASM waits for all of the currently connected users to disconnect from the instance. If any database instances are connected to the Oracle ASM instance, then the SHUTDOWNcommand returns an error and leaves the Oracle ASM instance running. NORMAL is the default shutdown mode.

  • IMMEDIATE or TRANSACTIONAL Clause

    Oracle ASM waits for any in-progress SQL to complete before performing an orderly dismount of all of the disk groups and shutting down the Oracle ASM instance. Oracle ASM does not wait for users currently connected to the instance to disconnect. If any database instances are connected to the Oracle ASM instance, then the SHUTDOWN command returns an error and leaves the Oracle ASM instance running. Because the Oracle ASM instance does not contain any transactions, the TRANSACTIONAL mode behaves the same as IMMEDIATE mode.

  • ABORT Clause

    The Oracle ASM instance immediately shuts down without the orderly dismount of disk groups. This causes recovery to occur upon the next Oracle ASM startup.

    If any database instance is connected to the Oracle ASM instance, then the database instance aborts.

    If any Oracle Automatic Storage Management Cluster File System (Oracle ACFS) file systems are currently mounted on Oracle ADVM volumes, those file systems should first be dismounted. Otherwise, applications encounter I/O errors and Oracle ACFS user data and metadata may not be written to storage before the Oracle ASM storage is fenced. For information about dismounting an Oracle ACFS file system, see "Deregistering, Dismounting, and Disabling Volumes and Oracle ACFS File Systems". For more information about user authentication on Oracle ASM instance, see "Authentication for Accessing Oracle ASM Instances".

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2074176/,如需轉載,請註明出處,否則將追究法律責任。

相關文章