Hi All
I have a table that has 21 columns and 860,000+ rows of data. Currently this table doesn't have any indexes or a primary key. It is now starting to struggle particularly with queries using DISTINCT statements.
I have to work out what indexes to add to the table to help it's performance but in the meantime does just adding a primary key help with speed?
Also if there are several columns that are used within different stored procedures, would there be any harm adding several indexes to the 1 table other than the increace in capacity?
Many thanks
Rit
Start Free Trial