Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture deadlocks #67

Open
DavidWiseman opened this issue Mar 7, 2022 · 0 comments
Open

Capture deadlocks #67

DavidWiseman opened this issue Mar 7, 2022 · 0 comments
Labels
DBA Dash Agent Issue affecting the agent DBA Dash GUI system client (web, mobile, CLI, 3rd party)

Comments

@DavidWiseman
Copy link
Collaborator

DBA Dash already captures Deadlocks/sec performance counter by default. This lets us know if we have any deadlocks but doesn't provide any detail on the deadlocks to assist with troubleshooting. It's possible to get this data from the system_health trace or from sys.fn_xe_telemetry_blob_target_read_file (for AzureDB).

It might be nice to pull this data into DBA Dash with some longer retention than system_health to assist with troubleshooting deadlocks. The data could be pulled from system_health or deadlocks could be added to the existing DBA Dash extended event.

From the UI side the deadlocks could be displayed in a grid. Probably not worth the effort of re-creating the deadlock viewer in DBA Dash.. Click a link to download the deadlock file (*.xdl) and open in SSMS. Could also show XML within the app.

Azure:
https://techcommunity.microsoft.com/t5/azure-database-support-blog/lesson-learned-19-how-to-obtain-the-deadlocks-of-your-azure-sql/ba-p/368847

@DavidWiseman DavidWiseman added DBA Dash Agent Issue affecting the agent DBA Dash GUI system client (web, mobile, CLI, 3rd party) labels Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DBA Dash Agent Issue affecting the agent DBA Dash GUI system client (web, mobile, CLI, 3rd party)
Projects
None yet
Development

No branches or pull requests

1 participant