سؤال

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?

هل كانت مفيدة؟

المحلول

By following the instructions from Microsoft http://msdn.microsoft.com/en-us/library/aa561918.aspx and use the dtasp_PurgeAllCompletedTrackingData stored procedure

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top