|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 11:23 AM
Points: 76,
Visits: 188
|
|
Dear Experts
How to read the recommendation page in sql tuning, I mean what should I do ex : the attached picture
Thanks lot
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:15 PM
Points: 37,651,
Visits: 29,903
|
|
Test the indexes out, one by one. If they help performance keep them. If they don't, drop the index and ignore the recommendation.
Never run DTA on a production server.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 11:23 AM
Points: 76,
Visits: 188
|
|
Thanks for replying
what do you mean by test out index and how?
How to know that this index inhance performance or not
why never run Database Tuning Advisor on a production server
Thanks lot
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:15 PM
Points: 37,651,
Visits: 29,903
|
|
Create the index, run your benchmark (the one you set up starting any tuning work), see if there's an improvement in performance.
As for why not on a production server, load, impact, side effects. Production servers are for production usage, for users. Not for dev and testing, that's what dev and testing servers are for.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 11:23 AM
Points: 76,
Visits: 188
|
|
Still dont understand how to measure performance after creatiing index
and if the index is already exist, should I drop it to see the difference
Thanks
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:15 PM
Points: 37,651,
Visits: 29,903
|
|
Measure query performance before you create the index. Record the stats (and you should have some idea what queries you're tuning) Add the index Measure query performance again. Compare.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 11:23 AM
Points: 76,
Visits: 188
|
|
Do you mean to see how much time the query has spent befor and after the index
Thanks
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:15 PM
Points: 37,651,
Visits: 29,903
|
|
Not just time, all performance characteristics. You need to have a baseline before you start tuning, or how do you know whether your work has been effective or not?
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|