1 2 3 4 5 6 7 8 9 10 11 12
|
Index the Correct Tables and Columns
Use the following guidelines for determining when to create an index:
*
Create an index if you frequently want to retrieve less than 15% of the rows in a large table. The percentage varies greatly according to the relative speed of a table scan and how the distribution of the row data in relation to the index key. The faster the table scan, the lower the percentage; the more clustered the row data, the higher the percentage.
*
To improve performance on joins of multiple tables, index columns used for joins. |
Partager