Skip to content

sp_BlitzFirst stuck on Sleeping Query with Open Transactions when thousands of transactions are open #3766

@GiorgioCazzaniga

Description

@GiorgioCazzaniga

Version of the script
8.28

What is the current behavior?
execution of sp_BlitzFirst get stuck for very long time (no end seen in half an hour) on evaluating "Sleeping Query with Open Transactions"

If the current behavior is a bug, please provide the steps to reproduce.
Having thousands transaction open

What is the expected behavior?
have the avalilability to skip the check, or having an alert of the unusual sleeping transactions

Which versions of SQL Server and which OS are affected by this issue? Did this work in previous versions of our procedures?
Microsoft SQL Server 2022 (RTM-CU21) (KB5065865) - 16.0.4215.2 (X64)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions