摘要:
问题出现:陈争:大家有通过邮件接收死锁的经验吗?思路通过sql 跟踪抓取死锁信息存到file中,然后通过::fn_trace_gettable导入到表中,再考虑如何处理。参考http://msdn.microsoft.com/zh-cn/library/hh245117(v=sql.120).aspx使用sp_trace_create创建跟踪。使用sp_trace_setevent添加事件。(可选)使用sp_trace_setfilter设置筛选器。使用sp_trace_setstatus@ID, 1启动跟踪。使用sp_trace_setstatus@ID, 0停止跟踪。使用sp_trace_ 阅读全文
posted @ 2014-01-03 23:53
rwthyu
阅读(340)
评论(0)
推荐(0)

浙公网安备 33010602011771号