| title | Open, view, print deadlock file (SSMS) | ||||
|---|---|---|---|---|---|
| description | Learn how to capture deadlock information that SQL Server Profiler generates and view it in SQL Server Management Studio. | ||||
| author | MikeRayMSFT | ||||
| ms.author | mikeray | ||||
| ms.reviewer | randolphwest | ||||
| ms.date | 03/01/2017 | ||||
| ms.service | sql | ||||
| ms.subservice | performance | ||||
| ms.topic | conceptual | ||||
| ms.custom |
|
||||
| helpviewer_keywords |
|
||||
| monikerRange | =azuresqldb-current || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric-sqldb |
[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance FabricSQLDB] When [!INCLUDEssSqlProfiler] generates a deadlock, you can capture and save the deadlock information to a file. After you've saved the deadlock file, you can open it in [!INCLUDEssManStudioFull] to view it or print it.
-
On the File menu in [!INCLUDEssManStudioFull], point to Open, and then select File.
-
In the Open File dialog box, select the .xdl file type in the Files of type box. You now have a filtered list of only deadlock files.
-
On the File menu in [!INCLUDEssManStudioFull], point to Open, and then select File.
-
In the Open File dialog box, select the .xdl file type in the Files of type box. You now have a filtered list of only deadlock files.
-
Select the deadlock file you want to print, and select Open.
-
On the File menu, select Print.