如何重新啟動MSSQL的相關紀錄檔
很實用的資訊,筆記一下,感謝作者。
@ Recycle SQL Error log
exec msdb..sp_cycle_errorlog
@ Recycle SQL Agent Error log
exec msdb..sp_cycle_agent_errorlog
@ Recycle(rollover) SQL Server Default trace
EXEC sp_configure ‘default trace’, 0 RECONFIGURE
EXEC sp_configure ‘default trace’, 1 RECONFIGURE
@ Recycle SQLFT#.Log
a. Before 2008 – restart the indexer
b. After 2008 – no way to cycle to full text log without restarting SQL server
@ Recycle FDLAUNCHERRORLOG
a. Restart FDLauncher service
我是ROCK
rockchang@mails.fju.edu.tw