GoldCoast_Nerd
10-11-2007, 06:43 PM
hey,
i have a massive cuctomer table that has a lot of rows. the customerID is the primary key, so sql server makes a clustered index on that .
we run a lot of queries that use the countryvalue, age and gender in the where clause to retrieve members for search results. the question is should i put a non-clustered index on these three columns so that the search results will be faster, on the testing environment the queries r faster, but i'm just worried that the table gets a lot of inserts and updates, hw will the index affect the performance then when there's so many inserts and updates
won't sql server have to rebuild the index everytime there is and insert or update??
any help greatly appreciated....
thanks..:)
i have a massive cuctomer table that has a lot of rows. the customerID is the primary key, so sql server makes a clustered index on that .
we run a lot of queries that use the countryvalue, age and gender in the where clause to retrieve members for search results. the question is should i put a non-clustered index on these three columns so that the search results will be faster, on the testing environment the queries r faster, but i'm just worried that the table gets a lot of inserts and updates, hw will the index affect the performance then when there's so many inserts and updates
won't sql server have to rebuild the index everytime there is and insert or update??
any help greatly appreciated....
thanks..:)