Viewing 15 posts - 5,191 through 5,205 (of 49,571 total)
That's parallelism waits, not actual blocking
Have you looked at the execution plans?
July 24, 2015 at 4:57 am
Could you please expand the sample data to show when an ID will return more than 1 for a year?
July 24, 2015 at 3:25 am
The wait durations in the screenshot are all around 15ms, so probably not significant (timeout is 30 seconds). They're also from all different processes and you haven't indicated which process...
July 24, 2015 at 3:16 am
rodjkidd (7/23/2015)
Gail, well done. Seriously impressive.I hope you are celebrating this weekend?
Taking myself and a good book to an expensive Chinese restaurant tonight. Yes, that's a celebration.
July 24, 2015 at 2:57 am
I don't know how things are done in the US, but here 75% is the threshold for a degree to be awarded "With Distinction"
July 23, 2015 at 11:19 am
No, because like the buffer pool it's not per-process. You should be able to use the memory clerks or other memory DMV to identify what area is using a lot...
July 23, 2015 at 10:37 am
Don't try reading the XML plan. Use the graphical one.
You won't find CPU time in the plan. You'll find costs, but they aren't times and can't be used to do...
July 23, 2015 at 10:14 am
muthyala_51 (7/23/2015)
So do you suggest to run the above mentioned job to reduce the max server memory on the server daily ?
No. Absolutely not.
There is a Linked server openrowset query...
July 23, 2015 at 9:51 am
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
July 23, 2015 at 9:45 am
sqlnaive (7/23/2015)
colA4 = 'case'and colA4 = 'ifelse'
I'm going to assume there's a mistake here, as a single column can't be equal to two values at the same time.
July 23, 2015 at 7:50 am
Luis Cazares (7/23/2015)
Remember that GUI plans are read right to left.
Left-to-right to see the control flow.
Right-to-left to see the data flow.
July 23, 2015 at 7:45 am
John Mitchell-245523 (7/23/2015)
Something like this?
create view vw_mainas
select colA1, colA2, colA3, colA4, colA5, colB2
from tableA A inner join tableB B
on (A.ColA1 = ColB1 AND colA4 = 'case') OR colA4 = 'ifelse'
John
Careful,...
July 23, 2015 at 7:39 am
Union all if there's no overlap or if duplicates are OK. Union if you want to eliminate duplicates.
July 23, 2015 at 7:35 am
Queries don't use much memory. The SQLBufferPool clerk is the data cache, the plan cache and a few other caches. It should be the highest memory consumer as that's the...
July 23, 2015 at 7:33 am
There are ways to do it, but they're complex, harder to read and usually perform badly, hence why I'm recommending you use two statements. Production code isn't where you show...
July 23, 2015 at 6:54 am
Viewing 15 posts - 5,191 through 5,205 (of 49,571 total)