• ksr39 (10/23/2012)


    Hi Experts,

    I need a small help in creating non cluster index on a table as we were facing a performance issue. The issue was in one of our production server I found that the CPU utilization is going high in peak till 100% and its fluctuating, so I found some queries which are utilizing the CPU resource more, So I run these queries in tuning advisor and got the recommendations to create a non-cluster index on a table but here the index need to be create on a single table but on 18 columns out of 21 in which 1 is a cluster index and 4 are non-cluster index already created.

    Please suggest me what I need to do and.

    All 18 columns are probably only required in order to make the index "covering". However, creating an index with 18 of the available 21 columns almost duplicates the table. Have a look at the execution plans of those queries and see what you really need to do. Look for the quick wins first - table scans. Then examine the join conditions and WHERE clauses, compare with the indexes you've already got.

    “Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden