December 1, 2017 at 1:34 pm
Hi All
Need some suggestions and clarity. Its a general basic question on Query tuning.
Is there any difference(s) when it comes to query tuning of a Azure database and OnPremise database?
In one of our env, they are looking for someone who can do azure db migration and query tuning? So, checking out for differences while performance tuning a azure db queries
when compared to a Onpremise database queries.
Thanks,
Sam
December 4, 2017 at 9:29 am
You have a little more insight into hardware on premises, but the principles are really the same. Good design, good code, index well.
December 4, 2017 at 12:36 pm
It's largely the same. Good code, good structure, proper indexes, statistics up to date, these are what you have to do. The difference is, as you tune the queries, you can almost literally show how you're saving money. The faster everything runs, the lower the service tier you need and the lower the cost to the business.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
December 15, 2017 at 9:59 am
I tune for response time first and resource usage second for on premise. In azure I tune to reduce DTU usage (i.e. resource usage) first and response time second (so long as it is with reason).
December 15, 2017 at 10:03 am
sqlgrease - Friday, December 15, 2017 9:59 AMI tune for response time first and resource usage second for on premise.
Although there are certainly exceptions, I've found that the two are usually fairly well joined at the hip.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 15, 2017 at 10:19 am
Jeff Moden - Friday, December 15, 2017 10:03 AMsqlgrease - Friday, December 15, 2017 9:59 AMI tune for response time first and resource usage second for on premise.Although there are certainly exceptions, I've found that the two are usually fairly well joined at the hip.
Parallel vs non parallel plans is usually where I run into that exception. But yeah, they usually are one and the same.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply