If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > activate database on reboot, OS = AIX 4.3

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-14-03, 09:22
hoohker hoohker is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
activate database on reboot, OS = AIX 4.3

HI Guys and Gurus,

Maybe someone here can help me with this minor thing.

I have installed DB2 7.2 on AIX, every thing is running fine,
except after a reboot.

db2start is issued aitomaticly i accomplished this with


db2set DB2AUTOSTART=YES

But the only annoying thing is that I need to activate the Database manyally with

db2 activate "database"

I there a way to accomplish this during startup?

I searched the web and this forum as well , but was unable
to fin the Information

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 11-14-03, 09:52
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Activating a particular database is optional since a database will be activated by any connect from an application. This is preferable when there are multiple databases in an instance (and not all used) because the database resources (primarily memory) are allocated when the database is activated. If all databases became active with db2start, it might allocate memory that was not needed and possibly cause a memory shortage.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 11-14-03, 10:22
hoohker hoohker is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
Great thanks for the answer, currently that was not tested by me.
I'll check it out

Good weekend at all
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On