Same Query, Different Servers, Different Performance. Now What?

I have 2 cluster servers with 2 nodes; having Single SQL instance installed with below configuration. Production 2.6 GHZ Processor 64 GB RAM 4 CPU SQL MAX Memory 52 GB MAXDOP 1

Pre-Production 2.6 GHZ Processor 64 GB RAM 2 CPU SQL MAX Memory 52 GB MAXDOP 1

I have 1 query which is executing within 30 Sec on pre-production but taking more than 150 Sec in production.

Pre-prod DB is restored from production server, having updated stats & indexes. Tested performance of query out of office hours, but giving same result. Execution plans looks similar on both servers. All SP_CONFIGURE parameters also same.

Only thing is on Pre-prod hyperthreding is set to 2; while on prod is 1. Meansboth have same logical processors i.e. 4

Can you help me how to find out root cause of slow performance on Production server.

more ▼

asked Aug 11 at 09:13 AM in Default

avatar image


Are they both physical servers?

5 days ago JohnM
(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first
more ▼

answered Aug 11 at 09:20 AM

avatar image

Kev Riley ♦♦
65.9k 48 63 81

It is balanced on both servers

5 days ago ahaware

That could account for the difference. One might be 'balancing' higher than the other - set to High Performance and recheck.

5 days ago Kev Riley ♦♦

Same on both servers. Min 5% & Max 100%

5 days ago ahaware

Yes but the servers have different processors, so the 'same' setting will give different results. Use High Performance (min 100% max 100%) to see if it makes any difference. Also be aware that some servers control power at the BIOS level too.

5 days ago Kev Riley ♦♦

Setting this on Production is considered to be a best practice - you may see a difference on Production, but for the better!

5 days ago Kev Riley ♦♦
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: 5 days ago

Seen: 25 times

Last Updated: 5 days ago

Copyright 2017 Redgate Software. Privacy Policy