Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

so many indexes indexes Expand / Collapse
Author
Message
Posted Monday, April 15, 2013 7:11 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 10:09 PM
Points: 208, Visits: 1,040
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....?
Post #1442554
Posted Monday, April 15, 2013 11:52 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 1:14 PM
Points: 40,615, Visits: 37,081
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 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

Post #1442594
Posted Tuesday, April 16, 2013 12:12 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, December 18, 2014 11:42 PM
Points: 1,310, Visits: 1,786
http://www.sqlskills.com/blogs/kimberly/indexes-just-because-you-can-doesnt-mean-you-should/
Post #1442603
Posted Wednesday, April 17, 2013 6:46 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 10:32 AM
Points: 1,324, Visits: 2,941
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.


Post #1443228
Posted Thursday, April 18, 2013 3:42 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 10:09 PM
Points: 208, Visits: 1,040
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
Post #1443703
Posted Thursday, April 18, 2013 3:46 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 4:28 AM
Points: 5,488, Visits: 10,339
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
Post #1443706
Posted Thursday, April 18, 2013 3:48 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, September 9, 2014 7:52 AM
Points: 23, Visits: 154
Each of your tables must be having a primary key, you can show that index as an index on the table.
Post #1443709
Posted Thursday, April 18, 2013 4:52 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 1:14 PM
Points: 40,615, Visits: 37,081
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 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

Post #1443734
Posted Thursday, April 18, 2013 7:26 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 11:57 AM
Points: 5,888, Visits: 13,062
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........


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

Post #1443841
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse