Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Microsoft distributes Microsoft SQL Server 2008 R2 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release.

Symptoms

Consider the following scenario:

  • You have a high-performance computer that has many processors. For example, the computer has 32 physical CPUs and 512 gigabytes (GB) of RAM.

  • The computer is running Microsoft SQL Server 2008 R2.

  • An application that is running on the server executes queries that create many worktables in the tempdb database.

In this scenario, you may receive an error message that resembles the following in the SQL Server error log:


Additionally, the USERSTORE_SCHEMAMGR SQL Server cache has many entries and grows quickly.

Cause

This issue occurs when many worktables are marked for deferred drop. When many worktables are marked for deferred drop, the clean-up process may take a very long time to finish.

Resolution

Cumulative update information

SQL Server 2008 R2 Service Pack 1


The fix for this issue was first released in Cumulative Update 1 for SQL Server 2008 R2 Service Pack 1. For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:

2544793 Cumulative Update package 1 for SQL Server 2008 R2 Service Pack 1Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

2567616 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 Service Pack 1 was released

SQL Server 2008 R2

The fix for this issue was first released in Cumulative Update 5. For more information about how to obtain this cumulative update package for SQL Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:

2507770 Cumulative Update package 7 for SQL Server 2008 R2 Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

981356 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released

SQL Server 2008

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

968382 How to obtain the latest service pack for SQL Server 2008

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.


If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.


Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


Prerequisites

To apply this hotfix, you must have Microsoft SQL Server 2008 R2 installed.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File 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 item in Control Panel.

For all supported 32-bit SQL Server 2008 R2 Database Services Core Instances

File name

File version

File size

Date

Time

Platform

Atxcore.dll

2009.100.1766.0

26,464

24-Feb-2011

01:49

x86

Datacollectorcontroller.dll

2009.100.1766.0

135,520

24-Feb-2011

01:49

x86

Etwcls.mof

Not applicable

1,116,328

22-Feb-2011

14:29

Not applicable

Instmsdb.sql

Not applicable

2,241,260

22-Feb-2011

12:53

Not applicable

Mssqlsystemresource.ldf

Not applicable

524,288

22-Feb-2011

15:01

Not applicable

Mssqlsystemresource.mdf

Not applicable

63,569,920

22-Feb-2011

15:01

Not applicable

Rsfxft.dll

2009.100.1766.0

21,344

24-Feb-2011

01:44

x86

Sql_engine_core_inst_keyfile.dll

2009.100.1766.0

13,664

24-Feb-2011

01:45

x86

Sqlaccess.dll

2009.100.1766.0

415,584

24-Feb-2011

01:44

x86

Sqlagent.exe

2009.100.1766.0

367,968

24-Feb-2011

01:49

x86

Sqlagent100_msdb_upgrade.sql

Not applicable

2,371,245

22-Feb-2011

14:28

Not applicable

Sqlos.dll

2009.100.1766.0

14,688

24-Feb-2011

01:37

x86

Sqlscriptdowngrade.dll

2009.100.1766.0

14,688

24-Feb-2011

01:37

x86

Sqlscriptupgrade.dll

2009.100.1766.0

4,611,424

24-Feb-2011

01:37

x86

Sqlservr.exe

2009.100.1766.0

42,918,752

24-Feb-2011

01:49

x86

Sqsrvres.dll

2009.100.1766.0

89,952

24-Feb-2011

01:37

x86

For all supported 64-bit SQL Server 2008 R2 Database Services Core Instances

File name

File version

File size

Date

Time

Platform

Atxcore.dll

2009.100.1766.0

31,584

24-Feb-2011

00:53

x64

Datacollectorcontroller.dll

2009.100.1766.0

262,496

24-Feb-2011

00:53

x64

Etwcls.mof

Not applicable

1,116,328

22-Feb-2011

14:29

Not applicable

Instmsdb.sql

Not applicable

2,241,260

22-Feb-2011

12:53

Not applicable

Mssqlsystemresource.ldf

Not applicable

524,288

22-Feb-2011

15:01

Not applicable

Mssqlsystemresource.mdf

Not applicable

63,569,920

22-Feb-2011

15:01

Not applicable

Rsfxft.dll

2009.100.1766.0

25,440

24-Feb-2011

00:50

x64

Sql_engine_core_inst_keyfile.dll

2009.100.1766.0

14,176

24-Feb-2011

00:53

x64

Sqlaccess.dll

2009.100.1766.0

403,296

24-Feb-2011

00:50

x86

Sqlagent.exe

2009.100.1766.0

428,384

24-Feb-2011

00:53

x64

Sqlagent100_msdb_upgrade.sql

Not applicable

2,371,245

22-Feb-2011

14:28

Not applicable

Sqlos.dll

2009.100.1766.0

15,712

24-Feb-2011

00:50

x64

Sqlscriptdowngrade.dll

2009.100.1766.0

15,712

24-Feb-2011

00:50

x64

Sqlscriptupgrade.dll

2009.100.1766.0

4,610,912

24-Feb-2011

00:50

x64

Sqlservr.exe

2009.100.1766.0

62,019,424

24-Feb-2011

00:53

x64

Sqsrvres.dll

2009.100.1766.0

105,824

24-Feb-2011

00:50

x64

For all supported IA-64-based SQL Server 2008 R2 Database Services Core Instances

File name

File version

File size

Date

Time

Platform

Atxcore.dll

2009.100.1766.0

63,328

24-Feb-2011

00:18

IA-64

Datacollectorcontroller.dll

2009.100.1766.0

477,024

24-Feb-2011

00:18

IA-64

Etwcls.mof

Not applicable

1,116,328

22-Feb-2011

14:29

Not applicable

Instmsdb.sql

Not applicable

2,241,260

22-Feb-2011

12:53

Not applicable

Mssqlsystemresource.ldf

Not applicable

524,288

22-Feb-2011

15:01

Not applicable

Mssqlsystemresource.mdf

Not applicable

63,569,920

22-Feb-2011

15:01

Not applicable

Rsfxft.dll

2009.100.1766.0

56,160

24-Feb-2011

00:15

IA-64

Sql_engine_core_inst_keyfile.dll

2009.100.1766.0

19,296

24-Feb-2011

00:18

IA-64

Sqlaccess.dll

2009.100.1766.0

392,032

24-Feb-2011

00:15

x86

Sqlagent.exe

2009.100.1766.0

1,206,112

24-Feb-2011

00:21

IA-64

Sqlagent100_msdb_upgrade.sql

Not applicable

2,371,245

22-Feb-2011

14:28

Not applicable

Sqlos.dll

2009.100.1766.0

22,368

24-Feb-2011

00:12

IA-64

Sqlscriptdowngrade.dll

2009.100.1766.0

20,832

24-Feb-2011

00:11

IA-64

Sqlscriptupgrade.dll

2009.100.1766.0

4,617,056

24-Feb-2011

00:11

IA-64

Sqlservr.exe

2009.100.1766.0

121,779,040

24-Feb-2011

00:21

IA-64

Sqsrvres.dll

2009.100.1766.0

188,768

24-Feb-2011

00:11

IA-64

Status

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

More Information

Worktables are internal tables that are created in the tempdb database and are not visible to users. SQL Server uses worktables for the following operations and objects:

  • Cursors

  • LOB variables (for example, Varchar(max))

  • Merge Joins

  • Parallel queries

  • Spool operators

  • XML document usage

  • Service Broker

  • Database consistency checks

SQL Server tries to drop the worktable when the specific work is completed. If the try fails, then the worktable is marked for cleanup (deferred drop). The background task that is responsible for Ghost record cleanup performs the cleanup of the deferred drop worktables.

When worktables are created frequently, the background task can take a long time to clean up the deferred drop worktables, and there may be many worktables in the cache. This cumulative update uses a more efficient algorithm to clean up the deferred drop worktables. Therefore, the issue that is described in the "Symptoms" section does not occur.

References

For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 New naming schema for Microsoft SQL Server software update packagesFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×