Having a disagreement at the moment and hopefully someone can help.
I have a database with 2 million records in a main table.
The table has a clustered index on areaID, date, userID, typeid in this order.
I have been told that i should change the order by swapping the the date and areaID as this will speed up performance (there are 1000s of records inserted each hour) due to the table forcing the data to change order after each insert.
Is this right??
I have a database with 2 million records in a main table.
The table has a clustered index on areaID, date, userID, typeid in this order.
I have been told that i should change the order by swapping the the date and areaID as this will speed up performance (there are 1000s of records inserted each hour) due to the table forcing the data to change order after each insert.
Is this right??