FIX: The BizTalk Server MessageBox database grows very large because records are not cleared in the EqualsPredicate2ndPass table in BizTalk Server 2010

Applies to: BizTalk Server Branch 2010BizTalk Server Developer 2010BizTalk Server Enterprise 2010

Symptoms


Consider the following scenario:
  • You run BizTalk orchestrations that result in instance subscriptions in Microsoft BizTalk Server 2010.
  • When the instances of the orchestrations are processed, records are generated in the EqualsPredicate2ndPass table.

In this scenario, some of these records are under heavy load, and the bts_PurgeSubscription stored procedure does not clear records in the EqualsPredicate2ndPass table. This causes the BizTalk Server MessageBox database (BizTalkMsgBoxDb) to grow very large.

Cause


This issue occurs because the EqualsPredicates2ndPass table does not have same indexes as other predicates tables. Therefore, an index scan is used instead of seek when delete statements are run. When this occurs, some records are not cleared under heavy load.

Resolution


Cumulative update information

BizTalk Server 2010

The hotfix that resolves this issue is included in cumulative update package for BizTalk Server 2010.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2667310 Cumulative update package 4 for BizTalk Server 2010

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


For information about how to maintain and troubleshoot BizTalk Server databases, click the following article number to view the article in the Microsoft Knowledge Base:

952555 How to maintain and troubleshoot BizTalk Server databases
For information about the service pack and cumulative update list for BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:

2555976 Service pack and cumulative update list for BizTalk Server

For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk Server hotfixes

For more information about the publish and subscribe architecture, visit the following MSDN website: