简体   繁体   中英

Safe ways to clean the BizTalk tracking database?

We have a Biztalk Server 2010 with a very large tracking database BizTalkDTADb (~ 200 GB).

For a long period of time (~2 years) the job DTA Purge and Archive hadn't been run at all.

  1. We ran the job DTA Purge and Archive on a copy of the BizTalk database. The task was fulfilled successfully. However, the size of the database Biztalk increased to 217 GB .
  2. Then on the other copy of the database Biztalk we launched the procedure dtasp_PurgeTrackingDatabase (we have the dump). However, it did not bring any results. The database size increased again.
declare @ dtLastBackup datetime 
set @ dtLastBackup = GetUTCDate () 
exec dtasp_PurgeTrackingDatabase 0, 30, 31, @ dtLastBackup

Can you recommend any safe ways to clean the database BizTalkDTADb?

Is it possible to create a new database BizTalkDTADb, attach it to an existing group, and detach the old one from the group?

How can you truncate the BizTalkDTADb tables in Biztalk Server 2010?

按照Microsoft http://msdn.microsoft.com/zh-cn/library/aa561918.aspx的说明进行操作,并使用dtasp_PurgeAllCompletedTrackingData存储过程

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM