You are here: Index design « MsSQL Server « IT news, forums, messages
Index design

Posted by Enorme Vigenti on 11/09/07 08:52

I have a large table with an unique integer primary key and many coloums
I have various programs to calculate many satistical information, this
programs use many stored procedures.
In other words many select statement query on the same table with where
clause on all combinations for the coloums.
Now I must create index
Initially i was create cluster primary key and many index on datatime
field and one other coloumn
But now I ask: If I create an index with all coloumns, it is used by
sqlserver for speed the query who use only 1, or 2 coloumns only?
....and it is better to make this index clustered (and not the primary key?)
I'm reading various sqlserver manual to know the index policy but I
can't to understand how to do this!!!
Can anyone to help me?
tnx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация