Unclosed connection - Connection Pool debugging SQL Server(未关闭的连接 - 连接池调试 SQL Server)
问题描述
我们有一个可疑的应用程序使连接处于打开状态.只是想知道对此的调试工具,至于是否有人有任何好的工具来隔离这个,商业或其他.
We have a suspect application leaving a connection open. Just wondering on the debugging tools for this, as to whether anyone has any good tools for isolating this, commercial or otherwise.
我在 Google 上搜索过,但似乎只找到了描述问题的文章,而不是解决方案的步骤.
I've Googled but only seem to bring up articles that describe the problem - not the steps for a solution.
这个 是迄今为止我看到的最好的文章.- 欢迎其他人.
This is the best article I've seen so far. - Others welcome.
有人有任何产品可以隔离有问题的代码吗?执行此类事情的分析器,或任何其他要添加的建议?
Anyone have any products that isolate the problematic code? Profilers which perform this sort of thing, or any other advice to add?
推荐答案
您可以随时检查 SQL Server 上的 Activity Monitor 以查看应用程序是否保持连接打开.
You can always check the Activity Monitor on SQL Server to see if the application is keeping the connection open.
它位于 SQL Server Management Studio 的管理节点下.它将显示连接到数据库的任何应用程序的主机、应用程序、用户、打开的事务数等.
It's under the Management node in SQL Server Management Studio. It will show you the host, application, user, number of open transactions, etc. for any applications that are connected to the database.
这篇关于未关闭的连接 - 连接池调试 SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:未关闭的连接 - 连接池调试 SQL Server
- SQL 临时表问题 2022-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 更改自动增量起始编号? 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
