Due to too much message body tracking after a release of an application to Production, the DTA size grew too large in BizTalk 2013 R2.
This also caused backups to become too large, and the DTA Purge and Archive job running for too long and not reducing the size of the DTA database fast enough. The large DTA database size could also be impacting BizTalk performance.
We intend to use the BHM Task “PURGE Everything in the DTA”
One of the pre-requisites to running BHM “All BizTalk SQL Agent jobs are stopped”. Does this include the Backup jobs? Yes
The DBA is also concerned that the Log files will blow out in size and wants to set the Recovery Model to Simple, would this approach be correct and supported by Microsoft?
- Do a partial stop all applications and allow running processes to finish
- Turn off host instances and set to manual on the BT Prod server.
- Stop IIS
- Inform SQL team to proceed with their task.
SQL Team to take back up of the SQL database with the following steps
- Run BizTalkMgmtDb.dbo.sp_ForceFullBackup stored procedure
- Run the Backup BizTalk Server (BizTalkMgmtDb) job to back up the database
- Stop all BizTalk SQL Agent jobs
- Set the Recovery Model to Simple
- Inform BizTalk team that Backup is complete
- Run BHM task to clean Orphaned Instances
- Run BHM task to PURGE Everything in the DTA
- Inform SQL team that purge is complete
- Shrink the BizTalkDTADb
- Set the Recovery Model to Full
- Start the SQL Agent jobs
- Inform the BizTalk team that Shrink is complete and SQL Agent jobs are running.
- Start SSO and Host Instances and set to Automatic Start
- Start IIS
- Enable Receive locations (Except those with DIS prefix)
- Monitor for any errors or issues
Question also posted on Technet