Viewing 15 posts - 1,021 through 1,035 (of 5,841 total)
You have functions around columns in the where clause. Game over until you can eliminate that. In aggregate that is the second worst thing I see in my performance tuning...
May 25, 2016 at 2:23 pm
Just review your logs. There are any number of blog posts out there on how to do that. See fn_dblog().
May 25, 2016 at 2:22 pm
Ola's stuff is open source. Just go to the relevant part and grab the code and modify to suit. Or script your own using system tables. Very doable. I don't...
May 25, 2016 at 1:43 pm
Again not enough information. What was the monitoring interval? If it was 30 seconds you are doing very poorly. If it was 180 seconds then you are waiting one second...
May 25, 2016 at 1:40 pm
Sturev (5/25/2016)
TheSQLGuru (5/25/2016)
Come now - I know you could have figured this one out by extending what I had!! 😛
You scared the crap out of me with that second post...
May 25, 2016 at 1:07 pm
Welcome. Sometimes our brains don't work like we wished they would. 😀
May 25, 2016 at 12:40 pm
Come now - I know you could have figured this one out by extending what I had!! 😛
WITH t AS (
SELECT ROW_NUMBER() OVER (ORDER BY a1.AFFILIATIONID, a1.BACKAFFILID) AS rownum,
a1.AFFILIATIONID,...
May 25, 2016 at 12:38 pm
j21283 (5/25/2016)
TempDB avg io stall...
May 25, 2016 at 12:25 pm
Look up DISTINCT in Books Online.
May 25, 2016 at 12:24 pm
I need all expected outputs for your sample data.
May 25, 2016 at 12:14 pm
Sturev (5/25/2016)
TheSQLGuru (5/25/2016)You are very welcome. When you have 45000 hours working with SQL Server your brain will probably think like mine too. 😎
I've been off in force.com land and...
May 25, 2016 at 12:13 pm
j21283 (5/25/2016)
Thanks for your response - this was where I was leaning as well - I will say before the upgrade of these various components our performance seemed to...
May 25, 2016 at 12:06 pm
Sturev (5/25/2016)
Wow Kevin, that's like light years beyond my sql skills, thanks a ton!
You are very welcome. When you have 45000 hours working with SQL Server your brain will probably...
May 25, 2016 at 11:30 am
Sturev (5/25/2016)
So I have 4 other fields in mix that I need to bring along and your solution...
May 25, 2016 at 11:29 am
Kludgy as heck, but it seems to give the desired results. :hehe:
CREATE TABLE #a (AFFILIATIONID varchar(20),
...
May 25, 2016 at 10:59 am
Viewing 15 posts - 1,021 through 1,035 (of 5,841 total)