Table design | Avoiding deadlocks


12.2.2 Index design

Having an efficient set of indexes defined for a table will improve performance on queries that access and update information for that table. For practical reasons, you cannot have indexes on every column. This would result in extremely poor performance when rows are inserted or updated in a table. The more indexes you have, the higher the additional overhead to insert, delete, and potentially update. A good start is to define indexes on these columns: