errorlog MS SQL Dead Lock (교착상태) Trace 서비스 운영 시 데드락으로 인하여 트랜젝션이 취소 되는 경우가 발생합니다. 어느 쿼리가 데드락을 발생시켰는지 모니터링을 하고자 할때 아래 trace를 켜서 sql error log에 남길 수가 있습니다. DBCC TRACEON (1204,-1) DBCC TRACEON (1222,-1) trace를 켜고 deadlock 이 발생하게 되면, xp_readerrorlog 를 사용해서 로그를 보면 아래와 같은 내용들을 볼 수 있습니다. 개발/트랜젝션과 잠금 2019. 7. 4. [스크랩] Reading the SQL Server log files using TSQL One of the issues I have is that the SQL Server Error Log is quite large and it is not always easy to view the contents with the Log File Viewer. In a previous tip "Simple way to find errors in SQL Server error log" you discussed a method of searching the error log using VBScript. Are there any other easy ways to search and find errors in the error log files? SQL Server 2005 offers an undocument.. 운영/기타 2014. 3. 6. 이전 1 다음