Skip to content

Running Queries - Task Level Wait Type #1632

@DavidWiseman

Description

@DavidWiseman

Wait type information is currently returned from sys.dm_exec_requests. Usually this is OK, but queries can have many tasks with different wait types and the information from sys.dm_exec_requests doesn't always provide the full picture. sys.dm_os_waiting_tasks provides more granular waits at task level and might be worth incorporating into the running query capture. Capturing everything from this DMV is probably overkill but it would be useful to capture the top wait types/durations.

Metadata

Metadata

Assignees

Labels

CompletedDEV work completed. To be included in next release if issue is still open.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions