choose between clustered,nonclustered,etc... index in 2012

I am trying to setup indexing in my huge table in 2012 sql server.  How do I decide which type of indexing I use?
al4629740Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Louis01Connect With a Mentor Commented:
Some notes on Clustered and Non-clustered Indexes:
Only one Clustered index allowed per table because data rows can be sorted in one order only.
The only time the data rows in a table are stored in sorted order is when the table contains a clustered index and is called a clustered table.
If a table has no clustered index, its data rows are stored in an unordered structure called a heap.
Nonclustered indexes are in a seperate structure and contains pointers to data rows
Both types of index can be unique.

Regarding which to use, there's no simple recipe. Best is to use the Database Engine Tuning Advisor
0
 
Asim NazirConnect With a Mentor Commented:
Create a clustered index on table's Identity column i.e. by setting it a Primary key column. It should boost performance of fetching data from table.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.