Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many combined indexes to handle
Message
From
24/01/2013 00:00:15
 
 
To
23/01/2013 14:34:37
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01563859
Message ID:
01563917
Views:
56
>On a big project that I maintain since a few years, we have several combined indexes to fit various needs, thus SQL commands which need to perform the result immediately. So, from the SSMS execution plan, with the way the INNER JOINs are being constructed, the fields in the WHERE clause and the list of selected fields, we came up with what was necessary to obtain that result.
>
>However, this raises a concern as to know if it wouldn't have been simpler to simply build one index with all the fields of the table. Or, is the way we have done it by adapting the application based on various SQL commands here and there to include the related indexes was the way to go.

Usually the emphasized approach is considered a DB-antipattern.
The need for quick lookup but still fast updates created the division between OLTP and data marts.

regards

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform