Viewing 15 posts - 11,296 through 11,310 (of 22,214 total)
If it's scanning the index, it can mean you're returning so much data that it has not choice but to scan. Or, it could mean that the index isn't very...
February 7, 2012 at 6:49 am
erikpoker (2/7/2012)
For simplicity, lets say i only grouped by two columns in the query. Account_FK and...
February 7, 2012 at 6:46 am
Sorry, I read through your explanation of why you have to use a DISTINCT several times and I'm not getting it. Probably more than usually thick this morning. Sorry.
Could be...
February 7, 2012 at 6:02 am
GROUP BY and DISTINCT are both aggregate operations, so you might not have saved anything there.
In general, check the SELECT properties. If you see a timeout as the reason...
February 7, 2012 at 5:58 am
Also use STATISTICS IO and compare the number of reads and writes. Do that in addition to measuring time. Both are applicable.
February 7, 2012 at 5:48 am
It can affect the other processes, yes. No process you run is free of cost. Doing a scanned update of statistics is fairly low cost, and usually you can run...
February 7, 2012 at 5:45 am
For quick information on what's running slow, use sys.dm_exec_query_stats to pull out the most frequently called queries or the longest running queries. From there though, you need to know what...
February 7, 2012 at 5:40 am
Nope, not a single issue at all. Great way to do the upgrade. I've done... oh, a whole bunch that way.
However, you should run the Upgrade Advisor first because there...
February 7, 2012 at 5:38 am
The fact that you need a DISTINCT operation in there suggests you might have a structural or data problem you need to concentrate on first.
Also, why are you returning 50000...
February 7, 2012 at 5:33 am
Yeah, totally different. When I've run into that one it's usually been a configuration issue. Either I'm not running the right SP on the server, or the developers are running...
February 6, 2012 at 12:37 pm
GSquared (2/6/2012)
February 6, 2012 at 11:53 am
I'd put them inside the statement too.
I don't remember how to do it, but it's possible to lose comments that are outside the statement (can't remember how that happens for...
February 6, 2012 at 11:27 am
I'd do a more thorough comparison between this box and the old one to detrmine what all the differences are.
As far as MAXDOP goes, I prefer to leave it set...
February 6, 2012 at 11:25 am
Something over the weekend took more resources than you have available. You just have to figure out what to start trying to troubleshoot the issue.
Is SQL Server alone on the...
February 6, 2012 at 11:23 am
Both occur during that period. To see if it's the exec plan, remove it from cache and then just ask for an estimated plan. However long that takes is your...
February 6, 2012 at 10:15 am
Viewing 15 posts - 11,296 through 11,310 (of 22,214 total)