Microsoft KB Archive/816834

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:04, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 816834

Article Last Modified on 11/2/2007



APPLIES TO

  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Workgroup Edition
  • Microsoft SQL Server 2000 Desktop Engine (Windows)
  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Enterprise Edition 64-bit



BUG #: 469131 (SQL Server 8.0)

SYMPTOMS

Osql.exe may not run batches as fast as other ODBC-based applications.

RESOLUTION

Service pack information

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

290211 How to obtain the latest SQL Server 2000 service pack


Hotfix information

The English version of this hotfix has the file attributes (or later file attributes) 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
   --------------------------------------------------------------
   02-Apr-2003  21:48  2000.80.796.0  57,904 bytes  Osql.exe

Note Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.



STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.

MORE INFORMATION

Osql.exe uses the Win32 API Sleep call to avoid CPU usage while it waits for the results of a query. This sleep value is hard-coded as 100 milliseconds. This value limits the number of query operations per second to approximately 10.

The sleep activity is similar to the DB-Library option DataReadySleep. In the DB-Library, the DbDataReady function is controlled by the DataReadySleep value.

For additional information about DataReadySleep, click the following article number to view the article in the Microsoft Knowledge Base:

159234 INF: How to Change the Sleep Value Used by Dbdataready



Keywords: kbbug kbfix kbqfe kbsqlserv2000presp4fix kbhotfixserver KB816834