Microsoft KB Archive/327467

= FIX: The Dta_purge_old_records Stored Procedure May Cause Exclusive Table Locking =

Article ID: 327467

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft BizTalk Server 2002 Standard Edition

-



This article was previously published under Q327467



SYMPTOMS
When you execute the Dta_purge_old_records stored procedure to archive or remove your tracking database, you may experience exclusive table locks. These table locks cause table locking problems with other processes that are trying to access the tracking database.



CAUSE
If the execution of the Dta_purge_old_records stored procedure affects many rows, Microsoft SQL Server uses an optimization hint to use exclusive table locks for the process.



Hotfix Information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that this article describes. Apply this hotfix only to systems that are experiencing this specific problem.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time      Size    File name ---  06-Aug-2002  21:25     72,992  Bts_tracking_cleanup_job.sql Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.



STATUS
Microsoft 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 2002 Service Pack 1.



MORE INFORMATION
This version of the stored procedure supersedes all previous versions of the archive and purging stored procedures that are included in earlier versions of BizTalk Server. To install this hotfix, follow these steps:
 * 1) Save BTS_Tracking_Cleanup_Job.sql to a temporary location on the hard disk of the computer running SQL Server.
 * 2) Click Start, point to Programs, point to Microsoft SQL Server, and then click Query Analyzer.
 * 3) Enter the correct connection information, and then click OK.
 * 4) Change the database context to your tracking database. By default, this tracking database is InterchangeDTA.
 * 5) Click File, and then click Open.
 * 6) Locate the file that you saved in step 1, and then click Open.

Note If your tracking database has a name other than InterchangeDTA, find all instances of InterchangeDTA in this text window and replace InterchangeDTA with the name of your tracking database.
 * 1) Click Query, and then click Execute.

Keywords: kbhotfixserver kbqfe kbbiztalk2002sp1fix kbbug kbfix KB327467

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.