FIX: The performance of a DML operation that fires a trigger may decrease when the trigger execution plan recompiles repeatedly (870972)
The information in this article 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 Evaluation Edition
- Microsoft SQL Server 2000 Workgroup Edition
- Microsoft SQL Server 2000 Desktop Engine (MSDE)
- Microsoft SQL Server 2000 Developer Edition 64 bit
- Microsoft SQL Server 2000 Enterprise Edition 64-bit
Bug #: 470083 (SQL Server 8.0)
SUMMARYThis article describes the following about this hotfix release:
- The issues that are fixed by this hotfix package.
- The prerequisites for installing the hotfix package.
- Whether you must restart your computer after you install the hotfix package.
- Whether the hotfix package is replaced by any other hotfix package.
- Whether you must make any registry changes.
- The files that are contained in the hotfix package.
back to the topSYMPTOMSWhen 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: - You run the DML statement multiple times.
- The number of rows that are affected by the DML statement differs every time that the DML statement is run.
For a list of previous hotfixes, see the "Microsoft SQL Server 2000
post-Service Pack 3 or Microsoft SQL Server 2000 post-Service Pack 3a hotfixes" section in the following Microsoft Knowledge Base article:
290211 How to obtain the most recent SQL Server 2000 service pack
back to the topRESOLUTIONService pack information
To 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 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
How to obtain the most recent SQL Server 2000 service pack
back to the topRestart 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. back to the topHotfix 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
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files. back to the topSTATUSMicrosoft 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. back to the topREFERENCESFor more information, visit the following Microsoft Developer Network (MSDN) Web site:
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
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
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
SQL blocking due to [[COMPILE]] locks
back to the top
Modification Type: | Minor | Last Reviewed: | 6/1/2006 |
---|
Keywords: | kbTrigger kbbug kbfix kbSQLServ2000preSP4fix kbHotfixServer kbQFE KB870972 kbAudDeveloper |
---|
|