|
-
Apr 21st, 2009, 12:02 PM
#13
Thread Starter
Frenzied Member
Re: [RESOLVED] [SQL Server] A column: to Index or not to Index
If I create an index with all columns in a table, performance is... hideous! but at least less hd usage.
if I create an index for each field, everything is a breeze! but of course 50%-80% increase in disk usage in my case.
So what's the rule for creating indexes? Do I join columsn that are almost always used in queries together? or does it have to do with the datatype? all numerics in one index and other types in another index?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|