dbTalk Databases Forums  

db2 boot order

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss db2 boot order in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ninth
 
Posts: n/a

Default db2 boot order - 08-09-2010 , 02:36 AM






hi:
what is the db2 boot order?
db2start is the first step,what is the next step? What tables involved?
thank.

Reply With Quote
  #2  
Old   
Serge Rielau
 
Posts: n/a

Default Re: db2 boot order - 08-10-2010 , 01:13 AM






On 8/9/2010 3:36 PM, ninth wrote:
Quote:
hi:
what is the db2 boot order?
db2start is the first step,what is the next step? What tables involved?
thank.
A rather odd question.
When you have done db2start you;re done...
When you first connect to a dormant database then some db level
initialization needs to be performed (i.e. ACTIVATE database).

There are no tables involved, mostly it's about allocating memory and
getting information from the DB CFG

That's actually how far my own knowledge goes.. Not clear why a user
would need to know more...
Cheers
Serge

--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab

Reply With Quote
  #3  
Old   
hsn_
 
Posts: n/a

Default Re: db2 boot order - 08-10-2010 , 01:35 PM



Quote:
That's actually how far my own knowledge goes.. Not clear why a user
would need to know more...
because in oracle you need to do.
1. start instance
2. mount database
3. open database

in db2 just starting instance is all what is required from user, rest
is done by db2 itself no user action required

Reply With Quote
  #4  
Old   
Gilroy Gonsalves
 
Posts: n/a

Default Re: db2 boot order - 08-14-2010 , 05:45 PM



On Aug 10, 7:35*pm, hsn_ <kolar.ra... (AT) gmail (DOT) com> wrote:
Quote:
That's actually how far my own knowledge goes.. Not clear why a user
would need to know more...

because in oracle you need to do.
1. start instance
2. mount database
3. open database

in db2 just starting instance is all what is required from user, rest
is done by db2 itself no user action required
i will try to compare what oracle and DB2 boot steps are
1)
DB2 => db2start -- Bring DB2 instance only and strat only DB2
Instance process and memory structure needed for instance only.
Oracle => STARTUP NOMOUNT -- Bring Oracle instance only. This
acutally start the background process and allocate memory

2)
DB2 => ACTIVATE DB <dbname> -- Start the DB2 database with all
database process. They are log writer, log reader, etc. If not given,
if applicatio try to connect to database <dbname> it automatically
starts up and will terminate automatically when all application
disconnects. Using ACTIVATE command is recommended approach.
Oracle => ALTER DATABASE <dbname> open -- Make the database
available to users.


Comparing DB2 with Oracle, DB2 is very simple and handy in starting
up. Even creating DB under DB2 is very very simple as apposed to
Oracle. For example,
CREATE DATABASE <dbname> will create you the database. Thats
it!!!.... Nothing more than that.

Below URL will help you out with more details
http://www.ibm.com/developerworks/da...0301chong.html
http://www.ibm.com/developerworks/da.../dm-0401gupta/

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.