top of page

To find maximum numbers of connections/threshold in DB2

  • Writer: Jha Chandan
    Jha Chandan
  • Oct 3, 2022
  • 1 min read

Monitoring is a daily task of any DBA and in this blogpost, we'll learn about how to get the maximum numbers of active connections/threshold in DB2.


Follow below steps:


1) To find out the maximum numbers of active connections on a database:

db2 connect to <dbname>
db2 get db cfg | grep -i MAXAPPLS
ree

2) To get instance level of configuration for the maximum number of connections:

db2 get dbm cfg | grep -i max
ree

3) To find the high-water mark for database connections:

db2 get snapshot for dbm | grep -i high
ree

In these above logs example, you can notice the database supports Automatic (40) active applications and the High-water mark was 33 of the active connections.


That's all in this post. If you liked this blog and interested in knowing more about IBM Db2. Please Like, Follow, Share & Subscribe to www.ImJhaChandan.com.


Comments


jc_logo.png

Hi, thanks for stopping by!

Welcome to my “Muse & Learn” blog!
Muse a little, learn a lot.✌️

 

Here you’ll find practical SQL queries, troubleshooting tips with fixes, and step-by-step guidance for common database activities. And of course, don’t forget to pause and muse with us along the way. 🙂
 

I share insights on:​​

  • Db2

  • MySQL

  • SQL Server

  • Linux/UNIX/AIX

  • HTML …and more to come!
     

Whether you’re just starting out or looking to sharpen your DBA skills, there’s something here for you.

Let the posts
come to you.

Thanks for submitting!

  • Instagram
  • Facebook
  • X
2020-2025 © TechWithJC

Subscribe to Our Newsletter

Thanks for submitting!

  • Facebook
  • Instagram
  • X

2020-2025 © TechWithJC

bottom of page