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 > MTS at DB2 UDB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-08-08, 01:52
linakichi linakichi is offline
Registered User
 
Join Date: Aug 2008
Posts: 45
MTS at DB2 UDB

Hi, everyone, I have a problem in imagining the way DB2 UDB handles MTS (Multi Threaded Server) architecture. I know that there's several parameters that would determine this handling process, such as :
- maxappls
- numdb
- maxcagents

Besides those parameters, is there any other parameter that has to be set to be able to support MTS architecture ? Is num_ioservers included ??
Reply With Quote
  #2 (permalink)  
Old 08-08-08, 01:58
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
What DB2 version and operating system are you using?
__________________
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 08-08-08, 02:07
linakichi linakichi is offline
Registered User
 
Join Date: Aug 2008
Posts: 45
I'm currently using Linux Redhat 4 and DB2 UDB 8.1
Reply With Quote
  #4 (permalink)  
Old 08-08-08, 02:41
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
DB2 has switched to a threaded architecture in version 9.5. That just means that connections don't require separate processes in the operating system. DB2 runs as a multi-tasking application in version 8.

With regard to maxagents, that defines how many agents can be connected to DB2 at one time (unless you are using DB2 connection pooling with ESE). Each application connection is one agent, unless that connection is doing some parallel operation such as parallel query (intra-partition parallelism).

The num_ioservers tells DB2 how many i/o server processes to run at one time when interfacing with the disk subsystem. This is usually set based on the number of CPU's you have and/or the number of containers per tablespace that you have.

In version 9.1 and especially in V9.5, the new automatic configuraton will let DB2 manage these settings dynamically for you, or you can set them manually.
__________________
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
  #5 (permalink)  
Old 08-08-08, 07:41
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
"Multithreaded server" (MTS) is an Oracle term; it is somewhat similar to what is called a connection concentrator in DB2.

To enable the connection concentrator you set MAX_COORDAGENTS to be larger than MAX_CONNECTIONS. MAXAGENTS and NUM_POOLAGENTS should also be set accordingly.

NUMDB has nothing to do with the connection concentrator, neither has NUM_IOSERVERS.
Reply With Quote
  #6 (permalink)  
Old 08-08-08, 17:32
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
The connection concentrator is only available on DB2 Enterprise (aka ESE).
__________________
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
  #7 (permalink)  
Old 08-18-08, 02:33
linakichi linakichi is offline
Registered User
 
Join Date: Aug 2008
Posts: 45
If connection concentrator only available at ESE, what would happen if we change the max_connections and maxagents value at the other edition ?? Oh yeah, btw, does anyone know how to check whether one's DB2 version is Express or Personal or Enterprise Edition ???

Last edited by linakichi; 08-18-08 at 04:27.
Reply With Quote
  #8 (permalink)  
Old 08-18-08, 09:17
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Run this on the server:
db2licm -l
__________________
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