Ask the Expert

Change the DBID using NID

We need to change the DBID using NID. To do this the database can not be open. We startup mount and find that the database is open. What could be causing this condition? Startup NOmount also opens the database. This is Oracle EE 9.2.0.5. on Solaris 2.8.

    Requires Free Membership to View

If you perform SHUTDOWN IMMEDIATE followed by STARTUP MOUNT, then your database will not be OPEN. This can be verified by querying V$INSTANCE. When I perform these operations on Oracle 9.2.0.6 on Sun Solaris, I get the following:

SQL> shutdown immediate
Database closed.
Database dismounted.
SQL> startup mount
ORACLE instance started.
...
Database mounted.
SQL> select status from v$instance; STATUS
-----------
MOUNTED

If you perform the same operations and the query from V$INSTANCE is reporting OPEN, then there must be some other process that is opening the database. Is it possible that you have a cron or OEM job that does something to this affect?

This was first published in April 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.