Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Filtered index columns

$
0
0

What is more reccomended approach for filtered index?
There is table with 10 milions of records. Record has 130 columns.
I need 40 columns (some of them are joind with other tables).

Filtered index usually would have about 100 rows, but not more than 1000.
Is it better to include only clustered column into filtered index and then select other columns from index seek or put all 40 columns into filtered index and not touch original table with 10 millions of records? Would that impact insert/update much more than in first case? I guess not.
What is your recomendations?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>