so many indexes indexes

  • what if i create so many indexes in a database, on each and every table small or large...? any bad impact possible in performance or maintenance point of view....?

  • Zeal-DBA (4/15/2013)


    what if i create so many indexes in a database, on each and every table small or large...?

    You slow down data modifications, increase the size of the database, increase the size of the backup, increase the time to maintain those indexes, increase the time to run backups and restores...

    Create useful, necessary indexes, not random ones everywhere.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    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
  • Have someone give you examples of what SQL will run against the dbs... or start a Profiler session and have app folks run what runs against the db. Then analyze the longer running queries for tuning indexes. Don't just randomly create indexes that you aren't sure will do anything.

  • thanks for your valuable comment on it.

    But what if client ask to create at least one index on each table which are not even suggested by missing index DMV.

    he needs to show him analysis on the basis i am denying to create unnecessary indexes, any way is there to show him my analysis.

    please advice

  • Client? Why is the client interested in indexes? All he needs is a database that performs according to his expectations (or according to SLAs). How you, as the DBA, deliver that, should be none of his business.

    John

  • Each of your tables must be having a primary key, you can show that index as an index on the table.

  • Zeal-DBA (4/18/2013)


    But what if client ask to create at least one index on each table which are not even suggested by missing index DMV.

    Ask why he wants to create them. Ask for the analysis that shows that his indexes are necessary, the details of what queries those indexes are intended to help.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    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
  • Zeal-DBA (4/18/2013)


    thanks for your valuable comment on it.

    But what if client ask to create at least one index on each table which are not even suggested by missing index DMV.

    he needs to show him analysis on the basis i am denying to create unnecessary indexes, any way is there to show him my analysis.

    please advice

    what exactly has the client asked. If he is asking for at least a clustered index on all tables that is a slightly different thing........

    ---------------------------------------------------------------------

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply