sql server - How to reduce 'number of executions' in MS SQL Execution Plan -
Does anyone know that to reduce the "number of executions" you execute SQL queries in MS SQL Can the server see the plan?
We have a query that slows down on a production server (others are fine). While examining the execution plan, we see that one of the first steps is a package index scan. On a well-running server, this scan is executed once. On slow run, it is executed 4 times.
We read here () that you should try to reduce it, but we can not find any suggestions on how to do this.
Both servers run the same version of Windows (2003) and SQL Server (2000).
Any help would be appreciated.
Is the DB schema really the same? If so, try updating statistics and defraging your indexes and tables.
Comments
Post a Comment