May 3, 2002 at 8:41 am
This happened on a SQL 2000 server with SP2 installed. I ran the following query, which took approx. 9 minutes to finish.
Select count(*) from table_name
While it was running I opened another query analyzer window and did sp_who2 active. The query was the only thing running on the server and it had 3 connections to the database with the same session ID. When I run anything that returns aggregated data then same thing happens. If I run a simple select statement with no aggregation, the results are returned in seconds.
If anyone has an explanation for the amount of time it takes to run the aggregation or why there are multiple sessions with the same ID, I would appreciate the help. Thanks in advance.
May 3, 2002 at 9:04 am
Did you look at the query plan? Maybe doing parallel processing if you have multi cpu?
Andy
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply