清理BizTalkMsgBoxDB库

    BTS在正常运行很长时间或发生大量挂起的消息时,BizTalkMsgBoxDB会变得很大(>10G),如果不及时进行清理,BTS运行变慢,性能下降。
但调用bts_CleanupMsgbox清理BizTalkMsgBoxDB要小心,不要轻易使用0做参数,后果严重。
1:清除所有消息
0:连流程的绑定也清了 

第一次使用时,由于没仔细查看bts_CleanupMsgbox说明,就执行了一次 exc bts_CleanupMsgbox 0 ,结果流程的绑定信息全没了,所有流程都需Rebind。
   
     服务停止n+分钟 = 被领导训斥n+天 ; // n >= 10

参考:
http://www.traceofthought.net/PermaLink,guid,4490e98e-049a-4c3c-8cb3-5380f295f61c.aspx
http://dallas.sark.com/SarkBlog/mholdorf/archive/2005/02/22/917.aspx


摘要:
Ahhh, but the stored procedure actually defaults fLeaveActSubs to “1”, whereas this code will leave fLeaveActSubs as “0”.  This will cause all your subscriptions to be deleted, and you will have to redeploy your BizTalk applications.  Not that I would know....

posted on 2005-09-09 11:50  徐中  阅读(667)  评论(3编辑  收藏  举报

导航