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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: