0

Oracle DBID what is logic to create oracle DBID ? Does it ensures uniqueness across multiple database in different host.?

Can I relay on DBID to identify database among 100 database in the organization ?

Thanks,

1 Answer 1

3

DBID is a numeric identifier that utilities like RMAN use to identify databases.

You can get your DBID like this:

select DBID from v$database;

However it NOT unique especially if you have copies of your database where you hot start them with:

recover database until change <SCN> using backup controlfile;

but if you don't have (control file) copies, then it is unique.

Because it's a number it's not a nice way to uniquely identify databases.

What we do to uniquely identify our databases across the whole company, is to create TNS entries in the form of "SID.host" because SID is unique on the host, and then use this format in our global tnsnames.ora.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.