December 19, 2012 at 11:42 pm
How can we use the parallelism in sql server. For the same query the exectuin plan at QA server the parallelism is being used. But It is not showing in Staging Server. What can be the reason behind that ?
December 19, 2012 at 11:48 pm
The reasons can be related to available resources, number of records and/or server settings.
Are bother environments exactly the same? If not, then the same execution plan could happen but should not be expected.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
December 19, 2012 at 11:55 pm
SQLRNNR (12/19/2012)
The reasons can be related to available resources, number of records and/or server settings.Are bother environments exactly the same? If not, then the same execution plan could happen but should not be expected.
Yes, No of records in the table and environments are same. how can we resolve that ?
December 20, 2012 at 12:10 am
And the server settings, are they the same?
Max Degree of parallelism and Cost Threshold for Parallelism for starters.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
December 20, 2012 at 12:23 am
SQLRNNR (12/20/2012)
And the server settings, are they the same?Max Degree of parallelism and Cost Threshold for Parallelism for starters.
Yes Both are same.....
December 20, 2012 at 12:39 am
And which plan is it that you want to use?
Which plan is performing better?
Did you clear the cache before running your tests on both servers?
Both servers have same number of cpus, same affinity, same resource governor settings, same memory?
Both servers have advanced power management turned off in bios?
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
December 20, 2012 at 2:50 am
SQLRNNR (12/20/2012)
And which plan is it that you want to use?Which plan is performing better?
Did you clear the cache before running your tests on both servers?
Both servers have same number of cpus, same affinity, same resource governor settings, same memory?
Both servers have advanced power management turned off in bios?
I want to use the execution plan which have the parallelism. It is working faster.
Both servers have same number of cpus, same affinity, same resource governor settings, same memory.
December 20, 2012 at 2:55 am
SQLRNNR (12/20/2012)
And which plan is it that you want to use?Which plan is performing better?
Did you clear the cache before running your tests on both servers?
Both servers have same number of cpus, same affinity, same resource governor settings, same memory?
Both servers have advanced power management turned off in bios?
I have checked the no of processor. QA server, where the parallelism is being used have th 2 processor. and staging server have the 4 processor, where the parallelism qry is not being used.
December 20, 2012 at 8:23 pm
Is advanced power management enabled in the bios on either machine?
Also, please submit actual execution plans for both servers. It will help us to troubleshoot.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
December 21, 2012 at 5:31 am
Have you updated your statistics recently on both databases? If statistics are up to date on one and not the other SQL Server can generate or pick different execution plans for the same query.
This too:
SQLRNNR (12/20/2012)
Also, please submit actual execution plans for both servers. It will help us to troubleshoot.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply