FIX: BizTalk Server Does Not Purge or Archive Tracking Database (293354)
The information in this article applies to:
- Microsoft BizTalk Server 2000
This article was previously published under Q293354 SYMPTOMS
A default installation of BizTalk Server is configured to automatically perform Document Tracking to store metadata that is associated with an interchange into the BizTalk Server tracking database (InterchangeDTA).
This default behavior can be problematic because the BizTalk Server tracking database continues to grow in size and consumes resources indefinitely.
Microsoft does not recommend manually deleting records in the database because the schema
is complex and there is a risk of deleting useful live information about
your business processes that are running.
CAUSE
BizTalk Server has no built-in facility for purging and archiving the InterchangeDTA tracking database.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft BizTalk Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
299664 INFO: How to Obtain the Latest BizTalk Server 2000 Service Pack
To resolve this problem, install SQL Server Database stored procedures that will correctly archive and purge the database of expired schedule instances. Schedule these cleanup procedures to run periodically by using SQL Server jobs. The following SQL Server scripts are available for archiving and purging the BizTalk Server tracking database:
- BTS_Tracking_ArchiveDB_Schema.sql: This script creates the Archive Database schema for the BizTalk
Tracking database.
- BTS_Tracking_Archive_Purge_Script.sql: This script creates a stored procedure (dta_purge_old_records) that is designed to query for old interchanges in the BizTalk Tracking database, and then purge and optionally archive all related records. A SQL Server Agent job is also created to invoke this stored procedure on a regularly scheduled basis. To fix a deadlock issue triggered by the introduction of this stored procedure, there are three existing logging stored procedures used by the runtime that are modified
by this script.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft BizTalk Server 2000 Service Pack 1.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbBizTalk2000SP1fix kbbug kbfix KB293354 |
---|
|