R
rickowen
Thanks to Roger Carlson and Allen Browne for their timely and appropriate
replies. I'm currently reading Chapter 15 "Application Optimization" -- a
book excerpt.
In discussing Rushmore optimization, the authors state "If you have queries
that don't include multiple restrictions or that contain restrictions on
columns for which you haven't created indexes, Rushmore won't be used. Thus,
it's important to create indexes on all columns that are used in query
restrictions."
That being said, what is the best practice for indexing columns? Creating
multiple column indexes based on the most likely query scenarios, or just
creating a separate index for each column that will be used in a query
restriction?
Thanks,
Rick.
replies. I'm currently reading Chapter 15 "Application Optimization" -- a
book excerpt.
In discussing Rushmore optimization, the authors state "If you have queries
that don't include multiple restrictions or that contain restrictions on
columns for which you haven't created indexes, Rushmore won't be used. Thus,
it's important to create indexes on all columns that are used in query
restrictions."
That being said, what is the best practice for indexing columns? Creating
multiple column indexes based on the most likely query scenarios, or just
creating a separate index for each column that will be used in a query
restriction?
Thanks,
Rick.