Unix Technical Forum

Database ID

This is a discussion on Database ID within the Oracle Database forums, part of the Database Server Software category; --> Hi all, Can anybody tell me how the database ID is "generated" SQL> select DBID from v$database; DBID ---------- ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 02:54 AM
Martijn
 
Posts: n/a
Default Database ID

Hi all,

Can anybody tell me how the database ID is "generated"
SQL> select DBID from v$database;

DBID
----------
2321854517

SQL>

I'm just wondering how this number/ID is made up, or what it is
composed of.

As you can see below we are on a database 9.2.0.7 (on AIX 5.2)
SQL> select banner from v$version;

BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
PL/SQL Release 9.2.0.7.0 - Production
CORE 9.2.0.7.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.2.0.7.0 - Production
NLSRTL Version 9.2.0.7.0 - Production

SQL>

Best Regards,

Martijn Bos

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-25-2008, 02:55 AM
Joel Garry
 
Posts: n/a
Default Re: Database ID

It is generated when you create the database, or run a utlity to change
it
http://download-west.oracle.com/docs...15/dbnewid.htm

It is created to be unique so RMAN (or other restoration techniques)
can figure out what goes where.

jg
--
@home.com is bogus.
http://www.danacountryman.com/danaco...anacovers.html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-25-2008, 02:58 AM
Martijn
 
Posts: n/a
Default Re: Database ID

Hee Joel,

Thanks for your reply.
I allready knew when the ID is created or how to change it :-)

I'm looking for how it's created. For instance is it a random number,
or is it a hash of (let's say) the SID and the time.

It's not to important, but I just like to know.

Best Regards,

Martijn Bos

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com