Database Structure and Jobs
This topic discusses the database structure and database jobs for BizTalk Server.
Database Write Diagram
The following figure shows the processes and entities that write to the BizTalk Server databases.
BizTalk Server Database Jobs
BizTalk Server includes the following SQL Server Agent jobs to assist you in managing the BizTalk Server databases:
|The names of the jobs change depending on the database names given during configuration. If you have deployed multiple MessageBox databases in your environment, there will be several jobs for each MessageBox.|
|In the BizTalk Management (BizTalkMgmtDb) database, there's a stored procedure named adm_CleanupMgmtDB. DO NOT RUN THIS STORED PROCEDURE! If you do run this stored procedure, all the entries in the database will be deleted.|
Backup BizTalk Server (BizTalkMgmtDb)
This job performs full database and log backups of the BizTalk Server databases. For more information about configuring and running this job, see Backing Up and Restoring BizTalk Server Databases.
This job cleans up expired BizTalk Framework (BTF) entries in the BizTalk Management (BizTalkMgmtDb) database.
DTA Purge and Archive (BizTalkDTADb)
This job automatically archives data in the BizTalk Tracking (BizTalkDTADb) database and purges obsolete data. For more information about configuring and running this job, see Archiving and Purging the BizTalk Tracking Database.
This job detects when a BizTalk Server host instance (NT service) has stopped and releases all work that was being done by that host instance so that it can be worked on by another host instance.
This job removes all messages that are no longer being referenced by any subscribers in the BizTalk MessageBox (BizTalkMsgBoxDb) database tables.
This job manages the reference count logs for messages and determines when a message is no longer referenced by any subscriber.
This job removes all message parts that are no longer being referenced by any messages in the BizTalk MessageBox (BizTalkMsgBoxDb) database tables. All messages are made up of one or more message parts, which contain the actual message data.
This job manually updates the statistics for the BizTalk MessageBox (BizTalkMsgBoxDb) database.
Monitor BizTalk Server
This job scans the BizTalkMgmtDb, BizTalkMsgBoxDb and BizTalkDTADb database for any known issues, including orphaned instances.
This job is needed for multiple MessageBox deployments. It asynchronously performs operational actions such as bulk terminate on the master MessageBox after those changes have been applied to the subordinate MessageBox.
This job purges unused subscription predicates from the BizTalk Server MessageBox (BizTalkMsgBoxDb) database.
This job automatically purges old audit data from the Rule Engine (BizTalkRuleEngineDb) database every 90 days. This job also purges old history data (deploy/undeploy notifications) from the Rule Engine (BizTalkRuleEngineDb) database every 3 days.
Other ResourcesThe Messaging Engine
© 2014 Microsoft Corporation. All rights reserved.