• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

如何获取复制代理的详细日志_sqlserver

sqlserver 搞代码 7年前 (2018-06-16) 112次浏览 已收录 0个评论

1.
In SQL Enterprise Manager, click the Replication Monitor Node to open the Replication Monitor on the server configured as the Distributor.2.Click Open on the Publishers node.3.Click the publisher that has the publication that has the problem.4.Click Publication.5.
In the right-hand pane of SQL Enterprise Manager is a list of the agents related to the publication. You see the Snapshot Agent, Log Reader Agent and the Push/Pull Subscription Agent.6.Identify the agent for which you need to set up output logging. 7.Right-click the Replication Agent you identified in step 6, and then click Agent Properties. 8.Click the Steps tab, and then edit the Run Agent step. 9.At the end of the string under command, add:

-Output C:TempOUTPUTFILE.txt -Outputverboselevel [0|1|2]

http://www.gaodaima.com/34723.html如何获取复制代理的详细日志_sqlserver

Specify either 0, 1, or 2 after the -Outputverboselevel parameter. 10.Click OK to save the changes, and then close the Edit Job Step dialog box. 11.Click OK to save the changes, and then close the Replication Agent Properties dialog box. If the agent is set to run continuously, stop and restart the Replication Agent so that SQL Server logs the messages to the log file specified in step 9. If the file already exists, the agent appends the output to the file.
参考:http://support.microsoft.com/?id=312292

欢迎大家阅读《如何获取复制代理的详细日志_sqlserver,跪求各位点评,若觉得好的话请收藏本文,by 搞代码


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:如何获取复制代理的详细日志_sqlserver
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址