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

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 two non-cluster indexes on same coulumn

Author  Topic 

sunnyh
Starting Member

3 Posts

Posted - 2014-02-05 : 07:38:44
Hi,
We have two non cluster indexes on the same column for a table. Could anyone please let me know will it impact negatively on table like performance etc. ?

Bustaz Kool
Master Smack Fu Yak Hacker

1834 Posts

Posted - 2014-02-05 : 19:38:33
Are the indexes identical? Are the two indexes only on that one column or are other columns part of each index? Are there include columns used in the indexes?

===============================================================================
There are two kinds of light -- the glow that illuminates, and the glare that obscures. -James Thurber (1894-1961)
Go to Top of Page

Lamprey
Master Smack Fu Yak Hacker

4614 Posts

Posted - 2014-02-05 : 20:00:32
quote:
Originally posted by sunnyh

Hi,
We have two non cluster indexes on the same column for a table. Could anyone please let me know will it impact negatively on table like performance etc. ?


Yes it will have a negative impact on performance.
Go to Top of Page

sunnyh
Starting Member

3 Posts

Posted - 2014-02-06 : 00:39:04
Hi Bustaz Kool,

Yes they both are identical and both indexes are only on that single column.

Hi Lamprey,

Thanks for your response.
Go to Top of Page

Avinaash.S786
Starting Member

9 Posts

Posted - 2014-02-06 : 00:45:05
Yes. It is better not to use more than one non cluster indexes on the same column, unless until it is most needed.
Refer to the following links
http://www.confio.com/logicalread/duplicate-indexes-and-sql-server-performance/
http://stackoverflow.com/questions/6943199/sql-server-multiple-index-for-the-same-columns-performance
http://social.msdn.microsoft.com/forums/sqlserver/en-US/e6ee8c63-ea57-4c30-b950-cc7194374a89/unique-clustered-and-non-clustered-indexes-on-same-column

Avinaash S
Go to Top of Page
   

- Advertisement -