Article ID: 870972 - Last Review: November 2, 2007 - Revision: 2.4 FIX: The performance of a DML operation that fires a trigger may decrease when the trigger execution plan recompiles repeatedly
Bug #: 470083 (SQL Server 8.0) On This PageArticle contentsSUMMARYThis article describes the following about this hotfix
release:
SYMPTOMSWhen you run a data manipulation language (DML) statement
such as an UPDATE, INSERT, or DELETE statement that fires a trigger, the
Microsoft SQL Server program recompiles the trigger execution plan to improve
the performance of the trigger execution. However, the repeated recompilation
of the trigger execution plan may decrease the performance of the trigger
execution. The repeated recompilation of the trigger execution plan may occur when the following conditions are true:
290211
(http://support.microsoft.com/kb/290211/
)
How to obtain the most recent SQL Server 2000 service pack
RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:290211
(http://support.microsoft.com/kb/290211/
)
How to obtain the latest SQL Server 2000 service pack
Hotfix informationPrerequisitesThis hotfix requires Microsoft SQL Server 2000 Service Pack 3 (SP3). For additional information about how to obtain SQL Server 2000 Service Pack 3, click the following article number to view the article in the Microsoft Knowledge Base:290211
(http://support.microsoft.com/kb/290211/
)
How to obtain the most recent SQL Server 2000 service pack
Restart informationYou do not have to restart your computer after you apply this hotfix.Note After you apply this hotfix, you must restart your SQL Server 2000 program that is running on your computer. Hotfix file informationThis hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.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
------------------------------------------------------------------
18-Jun-2004 14:14 2000.80.954.0 664,128 Autoplt.dll
18-Jun-2004 14:14 2000.80.954.0 78,400 Console.exe
18-Jun-2004 14:14 2000.80.954.0 315,968 Custtask.dll
18-Jun-2004 14:14 2000.80.954.0 33,340 Dbmslpcn.dll
08-Apr-2004 09:12 786,432 Distmdl.ldf
08-Apr-2004 09:12 2,359,296 Distmdl.mdf
10-Oct-2003 06:18 180 Drop_repl_hotfix.sql
18-Jun-2004 14:14 2000.80.954.0 1,905,216 Dtspkg.dll
18-Jun-2004 14:14 2000.80.954.0 528,960 Dtspump.dll
18-Jun-2004 14:14 2000.80.954.0 1,557,052 Dtsui.dll
18-Jun-2004 14:14 2000.80.954.0 639,552 Dtswiz.dll
10-Oct-2003 06:18 747,927 Instdist.sql
10-Oct-2003 06:18 1,581 Inst_repl_hotfix.sql
18-Jun-2004 14:14 2000.80.954.0 352,828 Isqlw.exe
18-Jun-2004 14:14 2000.80.954.0 82,492 Itwiz.exe
18-Jun-2004 14:14 2000.80.954.0 90,692 Msgprox.dll
19-May-2004 11:13 8.11.40209.0 209,408 Mssdi98.dll
18-Jun-2004 14:14 2000.80.954.0 62,024 Odsole70.dll
18-Jun-2004 14:15 2000.80.954.0 25,144 Opends60.dll
18-Jun-2004 14:14 2000.80.954.0 57,904 Osql.exe
18-Jun-2004 14:14 2000.80.954.0 279,104 Pfutil80.dll
10-Oct-2003 06:07 550,780 Procsyst.sql
08-Apr-2004 09:12 12,305 Qfe469315.sql
08-Apr-2004 09:12 19,195 Qfe469571.sql
17-Jun-2004 02:42 1,105,167 Replmerg.sql
18-Jun-2004 14:14 2000.80.954.0 221,768 Replprov.dll
18-Jun-2004 14:14 2000.80.954.0 307,784 Replrec.dll
16-Jun-2004 14:07 2000.80.954.0 159,813 Replres.rll
10-Oct-2003 06:18 1,087,150 Replsys.sql
10-Oct-2003 06:18 986,603 Repltran.sql
18-Jun-2004 14:14 2000.80.954.0 287,304 Rinitcom.dll
18-Jun-2004 14:14 2000.80.954.0 78,416 Sdiclnt.dll
18-Jun-2004 14:14 2000.80.954.0 66,112 Semmap.dll
18-Jun-2004 14:14 2000.80.954.0 57,916 Semnt.dll
18-Jun-2004 14:14 2000.80.954.0 492,096 Semobj.dll
16-Jun-2004 14:44 2000.80.954.0 172,032 Semobj.rll
18-Jun-2004 14:14 2000.80.954.0 53,832 Snapshot.exe
11-Mar-2004 14:40 117,834 Sp3_serv_uni.sql
18-Jun-2004 14:13 2000.80.954.0 28,672 Sqlagent.dll
18-Jun-2004 14:14 2000.80.954.0 311,872 Sqlagent.exe
18-Jun-2004 14:13 2000.80.954.0 168,001 Sqlakw32.dll
18-Jun-2004 14:14 2000.80.954.0 33,344 Sqlctr80.dll
18-Jun-2004 14:14 2000.80.954.0 4,215,360 Sqldmo.dll
18-Jun-2004 14:14 25,172 Sqldumper.exe
16-Jun-2004 13:54 2000.80.954.0 28,672 Sqlevn70.rll
18-Jun-2004 14:14 2000.80.954.0 180,792 Sqlmap70.dll
18-Jun-2004 14:14 2000.80.954.0 188,992 Sqlmmc.dll
16-Jun-2004 14:52 2000.80.954.0 479,232 Sqlmmc.rll
18-Jun-2004 14:14 2000.80.954.0 401,984 Sqlqry.dll
18-Jun-2004 14:14 2000.80.954.0 57,920 Sqlrepss.dll
18-Jun-2004 14:14 2000.80.954.0 7,581,777 Sqlservr.exe
18-Jun-2004 14:14 2000.80.954.0 590,396 Sqlsort.dll
18-Jun-2004 14:14 2000.80.954.0 45,644 Sqlvdi.dll
18-Jun-2004 14:14 2000.80.954.0 106,588 Sqsrvres.dll
18-Jun-2004 14:14 2000.80.954.0 33,340 Ssmslpcn.dll
18-Jun-2004 14:14 2000.80.954.0 82,492 Ssnetlib.dll
18-Jun-2004 14:14 2000.80.954.0 25,148 Ssnmpn70.dll
18-Jun-2004 14:14 2000.80.954.0 123,456 Stardds.dll
18-Jun-2004 14:14 2000.80.954.0 158,240 Svrnetcn.dll
18-Jun-2004 14:14 2000.80.954.0 76,416 Svrnetcn.exe
18-Jun-2004 14:14 2000.80.954.0 49,228 Ums.dll
18-Jun-2004 14:14 2000.80.954.0 98,872 Xpweb70.dll
STATUSMicrosoft has confirmed that this is a bug 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 INFORMATIONThis hotfix update improves the thresholds at which the
execution plan of a trigger is recompiled. For thresholds improvement to take
effect, you must enable SQL Server trace flag 9055 after you install this
hotfix. To enable trace flag 9055 for an instance of SQL Server, use one of the
following methods:
Steps to reproduce the behaviorTo reproduce a scenario that causes a trigger execution plan recompilation, follow these steps:
REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/aa175244(SQL.80).aspx
(http://msdn2.microsoft.com/en-us/library/aa175244(SQL.80).aspx)
For additional information
about the naming schema for Microsoft SQL Server updates, click the following
article number to view the article in the Microsoft Knowledge Base: 822499
(http://support.microsoft.com/kb/822499/
)
New naming schema for Microsoft SQL Server software update packages
For additional information about the
terminology that Microsoft uses when correcting software after it is released,
click the following article number to view the article in the Microsoft
Knowledge Base: 824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
For additional information, click
the following article number to view the article in the Microsoft Knowledge
Base: 263889
(http://support.microsoft.com/kb/263889/
)
SQL blocking due to [[COMPILE]] locks
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
