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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-14-03, 15:27
modigunta modigunta is offline
Registered User
 
Join Date: Nov 2001
Location: New York
Posts: 8
Multiple Instances

Hi!
Could anyone through some light on "when to use multiple db2 instances"?.
Is that good have one database on one instance or
multiple databases on one instance?

Thanks
--chandra
Reply With Quote
  #2 (permalink)  
Old 10-14-03, 15:49
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Unless you really need multiple versions of DB2 (V7 and v8) on the same machine, then you probably don't need multiple instances. Note that DB2 Windows does not support multiple instances on the same machine. The main reason to have multiple instances would be for testing of a new release. But better to test on another machine if possible. DB2 V8 now supports multiple fixpaks of the same version in different instances, but whether this works smoothly or not is debatable.

The number of databases is more complex. My preference is to have as few as possible, but it depends a lot on the applications that are using DB2. If the applications are completely separate and never need to access data in another database, and they used at different times (not used at the same time) then maybe have separate databases.

However, if multiple databases are running at the same time, they have separate bufferpools, which uses a lot of real memory. The ability to have large bufferpools (backed up by real memory) is the single most important performance factor in DB2.

There are also backup and restore issues since backup at the database level has advantages over backing up at the object level. There are also different performance parameters that can be set at the database level if the workloads are different.
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