What happens to the database instance?

Users are connected to a database instance that is using Automatic Storage Management (ASM). The DBA
executes the command as follows to shut down the ASM instance:
SQL> SHUTDOWN IMMEDIATE;
What happens to the database instance?

Users are connected to a database instance that is using Automatic Storage Management (ASM). The DBA
executes the command as follows to shut down the ASM instance:
SQL> SHUTDOWN IMMEDIATE;
What happens to the database instance?

A.
It shuts down long with the ASM instance.

B.
It is aborted and the ASM instance shuts down normally.

C.
It stays open and SHUTDOWN command for the ASM instance fails.

D.
It shuts down only after all pending transactions are completed and the ASM instance waits for this before
shutting down.

Explanation:
IMMEDIATE or TRANSACTIONAL Clause (link)
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.



Leave a Reply 0

Your email address will not be published. Required fields are marked *