brianpercival
Programmer
I have a basic question. we have a table with one and half million records. unfortunately, users have to do search on this table on various fields.
For faster search, how do I create indices? Should I just create individual indices for each search field? In the search form user can selectively create a combination of fields for search, but exact combinations are not known before hand. Basically what I want some light on is, if I create a clustered index, and user doesn't use that combination of fields for searching, then the index is of no use right? so should I just leave the indexing at just individual indices and be content or can I do anything better?
Hope I am making sense..
regards,
Brian
For faster search, how do I create indices? Should I just create individual indices for each search field? In the search form user can selectively create a combination of fields for search, but exact combinations are not known before hand. Basically what I want some light on is, if I create a clustered index, and user doesn't use that combination of fields for searching, then the index is of no use right? so should I just leave the indexing at just individual indices and be content or can I do anything better?
Hope I am making sense..
regards,
Brian