Solved

counters for index-tune in profile

Posted on 2011-09-07
10
299 Views
Last Modified: 2012-05-12
what counters should be checked in profilers, so that you can feed into index tunin wizard?
0
Comment
Question by:25112
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 21

Accepted Solution

by:
JestersGrind earned 500 total points
ID: 36496797
I don't know if there are necessarily counters to check.  My approach has always been to use the duration template in profiler and filter by however many milliseconds are considered too slow.  The procedures that take the longest generally are the ones that you should concentrate on.

Greg

0
 
LVL 5

Author Comment

by:25112
ID: 36497545
do you not feed the trace into the tuning wizard?
0
 
LVL 21

Expert Comment

by:JestersGrind
ID: 36498282
You can, but I usually address each issue that I find individually.

Greg

0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 5

Author Comment

by:25112
ID: 36499802
OK-

but in the case of having MS give high level index reco from a trace, what counters would the wizard expect to make a good reco?
0
 
LVL 21

Expert Comment

by:JestersGrind
ID: 36502232
I would stick with the templates.  TSQL_Duration is probably the best one to identify long running queries.  The counters that you choose aren't that important.  You want to use profiler just to identify the queries that need the most attention.  Then you use that as the source for the index tuning wizard and it will analyze the workload.  This Microsoft article probably explains it better than I am.

http://msdn.microsoft.com/en-us/library/ff650692.aspx

Greg

0
 
LVL 5

Author Comment

by:25112
ID: 36507518
I am following you. But you would need most of tsql and stored proc counters, right? the other ones like locks, sessions, database counters won't be relevant to indexes?
0
 
LVL 21

Expert Comment

by:JestersGrind
ID: 36509912
That's true.  I believe the SQL text data is what the index tuner uses as the workload to analyze.

Greg

0
 
LVL 5

Author Comment

by:25112
ID: 36517493
>>That's true.  I believe the SQL text data is what the index tuner uses as the workload to analyze.

will it de-phrase each statement and make its own version of statements to test and suggest index?

for example, some textdata will start with 'SELECT' some others will have 'exec sp_execute' and some will have HTML tags like <SHOWPLANXL....some will have 'declare ....." etc
0
 
LVL 21

Assisted Solution

by:JestersGrind
JestersGrind earned 500 total points
ID: 36528908
I believe it literally uses the statements that it captures.  

Greg

0
 
LVL 5

Author Comment

by:25112
ID: 36542779
OK- thx.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question