Performance Slows When You Use XA Transactions with SQL Server (318818)



The information in this article applies to:

  • Microsoft COM+ 1.0, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q318818

SYMPTOMS

When you use XA transactions with Microsoft SQL Server through the Merant JDBC driver, you may notice that performance slows.

CAUSE

This problem occurs because the Microsoft Distributed Transaction Server (MS DTC) xa_end call has thread affinity. This thread affinity forces a lot of thread management, which causes a big performance hit for the driver when you use XA transactions.

RESOLUTION

To resolve this problem, obtain Microsoft COM+ Hotfix Rollup 19. This hotfix replaces the thread affinity restriction of the xa_end call with a new switch to an xa_open string. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

318105 INFO: Availability of Windows 2000 Post-Service Pack 2 COM+ Hotfix Rollup Package 19

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack


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 Windows 2000 Service Pack 3.

MORE INFORMATION

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Modification Type:MajorLast Reviewed:6/5/2003
Keywords:kbbug kbfix kbWin2000PreSP3Fix kbWin2000sp3fix KB318818