![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
All - DB2 LUW 9.1.4 under AIX 6...How to tell how many and which are active DB's I have under an instance...given this: Max number of concurrently active databases * * (NUMDB) = 8 If I do: 'db2 list applications' and count-up the nbr of connections by DB... Assuming I have 10 databases on an instance and find: DB X has 4 connections, DB Y has 5 connections, DB Z has 3 connections then I have 3 active DB's and 6 inactive DB's, right? and I can therefore know which 3 of the 10 are active. *Does this rule ALWAYS hold true? IE if it doesn't show any active connections in List Applications then it should be obvious which DB's are active and which are not...I know it seems like a rookie 101 question but I'm just trying to ensure that it always holds true... |
#3
| |||
| |||
|
|
All - DB2 LUW 9.1.4 under AIX 6...How to tell how many and which are active DB's I have under an instance...given this: Max number of concurrently active databases (NUMDB) = 8 If I do: 'db2 list applications' and count-up the nbr of connections by DB... Assuming I have 10 databases on an instance and find: DB X has 4 connections, DB Y has 5 connections, DB Z has 3 connections then I have 3 active DB's and 6 inactive DB's, right? and I can therefore know which 3 of the 10 are active. Does this rule ALWAYS hold true? IE if it doesn't show any active connections in List Applications then it should be obvious which DB's are active and which are not...I know it seems like a rookie 101 question but I'm just trying to ensure that it always holds true... Hi! |
#4
| |||
| |||
|
|
On 2011-04-28 15:28, Bruce wrote: All - DB2 LUW 9.1.4 under AIX 6...How to tell how many and which are active DB's I have under an instance...given this: Max number of concurrently active databases * * (NUMDB) = 8 If I do: 'db2 list applications' and count-up the nbr of connections by DB... Assuming I have 10 databases on an instance and find: DB X has 4 connections, DB Y has 5 connections, DB Z has 3 connections then I have 3 active DB's and 6 inactive DB's, right? and I can therefore know which 3 of the 10 are active. *Does this rule ALWAYS hold true? IE if it doesn't show any active connections in List Applications then it should be obvious which DB's are active and which are not...I know it seems like a rookie 101 question but I'm just trying to ensure that it always holds true... Hi! A database can be activated but not have any connections. An activated database has memory allocated. You could use db2pd to find out the details. Your assumption above holds true if databases never are activated explicitly. /dg- Hide quoted text - - Show quoted text - |
#5
| |||
| |||
|
|
IE if it doesn't show any active connections in List Applications then it should be obvious which DB's are active and which are not...I know it seems like a rookie 101 question but I'm just trying to ensure that it always holds true... |
#6
| |||
| |||
|
|
no, we normally do not ACTIVATE DB explicitly...we just let users connect... |
![]() |
| Thread Tools | |
| Display Modes | |
| |