Go Back   Rhinocerus > Newsgroup > Newsgroup comp.databases.oracle.server

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-2006, 01:55 PM
Martijn
Guest
 
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

Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 03-08-2006, 11:53 PM
Joel Garry
Guest
 
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

Reply With Quote
  #3 (permalink)  
Old 03-10-2006, 10:23 AM
Martijn
Guest
 
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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Database Lock vs Database Freeze data _null_; Newsgroup comp.soft-sys.sas 0 04-24-2007 01:29 PM
Re: Database Lock vs Database Freeze Bob_Abelson@HGSI.COM Newsgroup comp.soft-sys.sas 0 04-24-2007 01:20 PM
Re: Database Lock vs Database Freeze Nancy Brucken Newsgroup comp.soft-sys.sas 0 04-24-2007 06:02 AM
Help with SQL Database Problem!!! Jeremy Ambler Newsgroup comp.soft-sys.sas 1 11-17-2004 10:18 PM
Re: Help with SQL Database Problem!!! Sigurd Hermansen Newsgroup comp.soft-sys.sas 0 11-17-2004 09:48 PM



All times are GMT. The time now is 06:59 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.