E
Eric Heinold
I have a database that has multiple fields for it's primary. When the table
was created, it had an indexes for each of the 3 fields in the primary key
defined. Since any of these 3 fields are used for sorting, I wondered if it
would cause any problems to remove these extra indexes. I did it as a test
and saw a speed increase for my forms opening, but did not know if there
will be other degradations becuase removing them.
Example:
UserID
ItemID
YearID
Multiple other fields
These three fields are are defined as the primary key. Indexes look like
this:
Primary Key - UserID, ItemID, YearID
UserID
ItemID
YearID
The last 3 indexes are non-unique. I would like to remove them from the
table. When I did this for testing, it made the forms open faster. I could
not find any information on whether the Primary key index is enough to help
speed up sorting and searches on any one of three fields.
Thanks,
Eric Heinold
was created, it had an indexes for each of the 3 fields in the primary key
defined. Since any of these 3 fields are used for sorting, I wondered if it
would cause any problems to remove these extra indexes. I did it as a test
and saw a speed increase for my forms opening, but did not know if there
will be other degradations becuase removing them.
Example:
UserID
ItemID
YearID
Multiple other fields
These three fields are are defined as the primary key. Indexes look like
this:
Primary Key - UserID, ItemID, YearID
UserID
ItemID
YearID
The last 3 indexes are non-unique. I would like to remove them from the
table. When I did this for testing, it made the forms open faster. I could
not find any information on whether the Primary key index is enough to help
speed up sorting and searches on any one of three fields.
Thanks,
Eric Heinold