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 > Multiple instances of db2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-09, 14:52
preetim preetim is offline
Registered User
 
Join Date: Jun 2003
Posts: 77
Question Multiple instances of db2

We are using db2 version 9.5 on windows nt server.
So far only one instance (default) DB2 exists.
Planning on starting another instance that will run in parallel with the current. The same java applications will use both the instances at the same time. The motivation behind this idea is to enable circular logging in one Database, and retain logs in the other. I know that this can be achieved by having two databases as well (instead of two instances). But there may be some performance tuning that we can apply differently in these two instances. So we've to decide whether to go with two instances or with two databases.

How does running multiple instances on the same server affect performance etc? Any info on pros and cons or known problems of running multiple db2 instances would help me.

Thanks.

Last edited by preetim; 08-24-09 at 15:23.
Reply With Quote
  #2 (permalink)  
Old 08-24-09, 17:23
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
I prefer 1:1 relationship between instances & databases. So each database has its dedicated instance. It is more easy to manage & to monitor. You know exactly which database goes down when you issue a db2stop and which database is monitored with www.db2mon.com - DB2 Monitor. With v9 stmm can manage various databases in 1 server in more instances. No problem.
Reply With Quote
  #3 (permalink)  
Old 08-26-09, 21:20
stephen.song stephen.song is offline
Registered User
 
Join Date: Aug 2004
Posts: 24
just do it
__________________
I am a java and database developer.
Reply With Quote
  #4 (permalink)  
Old 08-26-09, 21:48
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Each intance requires memory for the DB2 code and some misc memory heaps, but if you have enough memory it should be no problem.
__________________
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
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