Viewing 15 posts - 11,326 through 11,340 (of 22,214 total)
Try CROSS APPLY
SELECT t.*
FROM dbo.EMP AS e
CROSS APPLY dbo.testfn(e.Employeeid) AS t;
February 3, 2012 at 5:14 am
Change it, then keep an eye on your processor to see if you're still seeing bottlenecks there. Monitor processor queue length and the wait states to see if those numbers...
February 3, 2012 at 4:46 am
When you're returning 1/7 of the table, just scanning it makes more sense for the optimizer. I suspect that's the primary issue, but without details, we're still stabbing in the...
February 3, 2012 at 4:44 am
If you're not seeing it, I'd put money down that he's accessing an old backup or has a second set of commands that's stripping out the users. Nothing else makes...
February 2, 2012 at 7:39 am
Probably just has to do with the structure and access mechanisms. Assuming no changes to the execution plan, no changes to the distribution of the data, no changes to the...
February 2, 2012 at 7:35 am
Have you taken a look at the Resource Governor?
February 2, 2012 at 7:33 am
Start at Microsoft. That's always the best spot.
February 2, 2012 at 7:30 am
I wouldn't sweat the Max Degree of parallelism nearly as much as I would the cost threshold for parallelism. The default value there is 5, which is EXTREMELY low, especially...
February 2, 2012 at 7:29 am
Take a look at the execution plan for the query. see what it's doing. It could be you're building lots of temporary storage processes (hash tables, sorts, work tables, etc.)....
February 2, 2012 at 7:28 am
I agree with everyone else. Resource Governor is going to get you close-ish, to what you're looking for, but it's not going to do specifically what you need. And, it's...
February 2, 2012 at 7:24 am
I'm not aware of anything like this in 2012. To my knowledge the best you could do is use the resource governor to try to limit the one you don't...
February 2, 2012 at 6:07 am
February 2, 2012 at 5:57 am
And the query stats are aggregate only. If the query was called multiple times and only one of them spiked, you won't be able to tell much about the spike.
February 2, 2012 at 5:55 am
4gb of memory is really not enough to run that many VMs.
You have two options. 1) Make the VMs part of your existing network. You can add them to your...
February 2, 2012 at 5:53 am
Data changes can lead to statistics changes which can cause a recompile. If you have a nightly load or something like that you'll see recompiles. Also, plans can simply age...
February 2, 2012 at 5:49 am
Viewing 15 posts - 11,326 through 11,340 (of 22,214 total)