The information in this article applies to:
BUG #: 55597 (SQLBUG_70) SYMPTOMS
A query containing a sort operation may take significantly longer to execute using parallelism, as compared to being executed without parallelism. When the slow query is executing, sysprocesses shows a waittype of 0x208 or 0x200 and a lastwaittype of CXPACKET or EXCHANGE.
This problem only affects a query executed against SQL Server running on a multi-processor server.
Here is the summarized plan generated for this query:
Notice that the Sort operation occurs halfway down the plan, before the last Parallelism operator, indicating that the sort will be performed in parallel.
WORKAROUNDTo work around this problem, add (MAXDOP=1) as a query hint. This hint overrides the max degree of parallelism configuration option (of sp_configure) only for the query specifying this option, and will suppress parallel plan generation. For more information on using this query hint, see the SELECT (T-SQL) topic in SQL Server 7.0 Books Online. STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. Additional query words:
Keywords : SSrvTran_SQL kbbug7.00 kbSQLServ700bug |
Last Reviewed: December 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |