Microsoft KB Archive/814410

= FIX: Performance degradation and memory leak in the ODBC Driver for SQL Server =

Article ID: 814410

Article Last Modified on 10/18/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Service Pack 3

-





SYMPTOMS
After you install SQL Server 2000 Service Pack 3 (SP3) (all editions), applications that use the Microsoft ODBC Driver for SQL Server (sqlsrv32.dll) may experience performance degradation and memory leaks. This is especially noticeable when you execute queries that return a large number of columns in the result set, or when you repeatedly execute prepared queries that have large numbers of columns.



CAUSE
The Microsoft ODBC Driver for SQL Server that is installed by SQL Server 2000 SP3 changes how SQL Server allocates column metadata for ODBC statements. In certain cases, the driver can cause a memory leak.



RESOLUTION
To resolve this problem, use one of the following methods:

Method 1
Install the Microsoft Data Access Components (MDAC) 2.7 Service Pack 1 Refresh on your computer. To download the MDAC 2.7 Service Pack 1 Refresh, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9ad000f2-cae7-493d-b0f3-ae36c570ade8

Note To resolve this problem in a cluster, you must install the MDAC 2.7 Service Pack 1 Refresh or the hotfix on all the nodes that participate in the cluster.

Method 2
This issue is resolved in SQL Server 2000 Service Pack 3a (SP3a). To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack.

Method 3
Contact Product Support Services to obtain this hotfix.

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

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

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

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this hotfix 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   Version            Size    File name --  10-Feb-2003  21:41  2000.81.9031.29    24,576  Odbcbcp.dll 10-Feb-2003 21:40  2000.81.9031.29   385,024  Sqlsrv32.dll



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 corrected in SQL Server 2000 Service Pack 3a. There is no workaround for this problem.

Keywords: kbhotfixserver kbqfe kbfix kbbug KB814410

-

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

© Microsoft Corporation. All rights reserved.