Viewing 15 posts - 151 through 165 (of 180 total)
just to let you know the tempdbs didn't sort it, the restart sorted it temporarily but then the issue returned. Eventually tracked it down to trace flag T8780 being turned...
July 9, 2013 at 1:16 pm
Sorted! Your comments led me to the following website, I couldn't understand why the query was taking so long, and then timing out.
http://mssqlwiki.com/2012/10/07/optimizer-timeout-or-optimizer-memory-abort/
quote from the site below
"We can...
July 9, 2013 at 1:10 pm
i see what you mean now, thanks for that what on earth could be causing the optimiser to take ten minutes and only then timeout! ridiculous. hopefully cumulative update will...
July 8, 2013 at 2:26 pm
ChrisM@Work (7/8/2013)
July 8, 2013 at 12:03 pm
I should mention that the objects being referenced in the initial query are views and not tables. These views use joins too, some quite complex which explains the size of...
July 5, 2013 at 8:57 am
Thank you, but i am running your revised query and it too is taking a long time. It is worth mentioning that I have since added a join hint to...
July 5, 2013 at 7:40 am
Thanks for your response. I am running the same query each time and not changing the parameters so don't think parameter sniffing is the problem. This query has been running...
July 5, 2013 at 3:44 am
FYI, solved this by adding 7 extra tempdb files to match the 8 cores, then restarted the sql server. Now the query plans match exactly, and the query returns in...
June 20, 2013 at 4:37 am
update on this, restored the backups to another sql server with exactly the same OS and SQL server version and SP, and the query returns in seconds, even on the...
June 18, 2013 at 1:14 pm
mayurkb I switched parametrization to forced on the offending database, and now when I run the query (after it's initial 10 minute run into the cache), even if I change...
June 18, 2013 at 5:06 am
The amount of data in the databases should be very similar, the database on the slower of the servers was last updated by an automatic job early this morning before...
June 17, 2013 at 2:25 pm
They are running sql server 2008r2 standard edition, though the quicker performer is at sp1, the slower at sp2.
Yes it takes a very long time to compile, once I...
June 17, 2013 at 2:22 pm
I have attached the execution plan from the slow performing server, and from one of the quicker performing servers. (the query plans for the 2 quicker performing servers live and...
June 17, 2013 at 1:21 pm
Yes sorry, I am at home now so do not have the actual query or plan to hand. I will add it to the post when I log in later....
June 17, 2013 at 12:30 pm
Thanks for this, put me on the right track. but I had to change the database in the drop down to MSDB rather than master or any other. my query...
December 19, 2012 at 7:57 am
Viewing 15 posts - 151 through 165 (of 180 total)