Do you have any question about this error?
Message type: E = Error
Message class: DB6PM - DB2 UDB for UNIX, Windows: Performance Monitoring
Message number: 344
Message text: Database connection &1 is still in use by NLS connection &2
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
DB6PM344
- Database connection &1 is still in use by NLS connection &2 ?The SAP error message DB6PM344 indicates that a database connection is still in use by a Non-Local System (NLS) connection. This typically occurs in environments where multiple database connections are managed, and it suggests that a particular database connection cannot be released or terminated because it is still being utilized by another process or connection.
Cause:
- Active Connections: The database connection is actively being used by an NLS connection, which means that there are ongoing transactions or operations that have not yet completed.
- Resource Locking: There may be locks on the database resources that prevent the connection from being released.
- Configuration Issues: Misconfiguration in the database or SAP system settings can lead to improper handling of connections.
- Long-Running Queries: If there are long-running queries or transactions, they may hold onto the connection longer than expected.
Solution:
- Identify Active Connections: Use database management tools or SQL queries to identify which NLS connection is using the database connection. This can help you understand what processes are still active.
- Terminate Unused Connections: If you find that there are connections that are no longer needed, you can terminate them safely. Ensure that you do not disrupt any critical processes.
- Check for Locks: Investigate if there are any locks on the database that are preventing the connection from being released. You may need to resolve these locks.
- Review Configuration: Check the configuration settings for both the SAP system and the database to ensure that they are set up correctly for handling connections.
- Optimize Queries: If long-running queries are the issue, consider optimizing them to reduce their execution time and free up connections more quickly.
- Restart Services: In some cases, restarting the database or the SAP application server may help clear up any lingering connections.
Related Information:
If the issue persists after trying the above solutions, it may be beneficial to consult with your database administrator or SAP support for further assistance.
Get instant SAP help. Start your 7-day free trial now.
DB6PM343
You must select at least two partitions for comparison
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
DB6PM342
db2sap library has not yet been invoked (see SAP Note 1124987)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
DB6PM345
Table &1 has no RUNSTATS profile, option to use profile is reset
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
DB6PM346
Table &1 has a RUNSTATS profile, option to use profile is set
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.