Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 03/03/2014 :  23:31:32  Show Profile  Reply with Quote
I am building my first database and have a simple question about indexes.

At how many records in a table should you consider putting an index on the table?

I don't see the point in creating an index if you have two records, but I see it if you have a million. At what point (how many records) do you think there would be a difference in performance of the database?

Thanks in advance. Cheers

Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 03/04/2014 :  01:48:32  Show Profile  Visit jackv's Homepage  Reply with Quote
@cronus - finding the right number is a matter of estimating the balance between workload, type of activity, maintenace cost.And even then, the optimizer may decide not to use an index depending on cardinality estimates.
When you're designing the index strategy - consider the difference between clustered and non-clustered indexes -

Jack Vamvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000