備忘録 デッドロックの原因を調査する (SQL Server)
SQL Server のデータキャッシュをバッファプールから削除する。
How to investigate the deadlock error on SQL Server.
[OS version]
- Windows Server 2012 R2
[Middleware version]
- SQL Server 2014
[SQL Server Management Studio での調査]
SQL Server Management Studio を使用してデッドロックの原因を特定する。
The cause of DEADLOCK can be investigated using SQL Server Management Studio.
- #1: Run the SQL Server Management Studio.
- #2: [管理] – [拡張イベント] – [セッション] – [system_health] – [package0.event_file]
- #3: [拡張イベント] – [フィルター]
- #4: Create new filter that is “name = xml_deadlock_report”.
- #5: Do the double click the target line in [詳細] tab.
- #6: Find [KEY] number in () of <process-list>.
- #7: Run below sql command.
- Select * from [Table Name] where %%lockres%% = ‘([Value of KEW])’;
コメントを残す