August 10, 2020 at 8:18 pm
Could you post the plan here: https://www.brentozar.com/pastetheplan/%5B/quote%5D
Frederico attached a converted copy as a ZIP file.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2020 at 8:29 pm
Could you post the plan here: https://www.brentozar.com/pastetheplan/%5B/quote%5D
I've already uploaded it here as a zip file.
August 10, 2020 at 8:51 pm
Could you post the plan here: https://www.brentozar.com/pastetheplan/%5B/quote%5D
I've already uploaded it here as a zip file.
I saw that after I posted...thanks.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
August 12, 2020 at 6:18 pm
Hi All,
Thanks for your valuable feedback, I'm working on the query now and hope it will improvise
Thanks
NB
August 12, 2020 at 6:28 pm
Sorry, I forgot to ask- is parallel execution worse, how to avoid parallel execution
August 12, 2020 at 6:31 pm
@Erikur, Sorry, I forgot to ask- is parallel execution worse, how to avoid parallel execution
August 12, 2020 at 6:57 pm
parallel is not necessarily worst - in many cases is it a lot faster than serial but it all depends.
as we mentioned before we need full code including underlying views and functions to be able to help further - failing that you will need to do the work of converting all those views/functions into a stored proc that behaves well.
August 12, 2020 at 7:46 pm
@Erikur, Sorry, I forgot to ask- is parallel execution worse, how to avoid parallel execution
As Frederico stated, it is neither better nor worse, it depends. For high cardinality sets with a sorted output, parallelism is normally worse, but this is a thing that has to be tested.
😎
To prevent parallel execution, simply add "OPTION (MAXDOP 1)" at the end of the query.
Can you elaborate further and post the full code as previously requested?
August 12, 2020 at 10:48 pm
Thanks .... they haven’t agreed to it... I will have to do some trial and error based on your recommendations
Viewing 9 posts - 16 through 23 (of 23 total)
You must be logged in to reply to this topic. Login to reply