1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
exec sp_configure "enable monitoring", 1
exec sp_configure "sql text pipe active", 1
exec sp_configure "sql text pipe max messages", 1000
exec sp_configure "plan text pipe active", 1
exec sp_configure "plan text pipe max messages", 1000
exec sp_configure "statement pipe active", 1
exec sp_configure "statement pipe max messages", 1000
exec sp_configure "deadlock pipe active", 1
exec sp_configure "deadlock pipe max messages", 100
exec sp_configure "wait event timing", 1
exec sp_configure "process wait events", 1
exec sp_configure "object lockwait timing", 1
exec sp_configure "SQL batch capture", 1
exec sp_configure "statement statistics active", 1
exec sp_configure "per object statistics active", 1
go |
Partager