Filtered index condition is ignored by optimizer

前端 未结 3 1642
礼貌的吻别
礼貌的吻别 2020-12-06 09:43

Assume I\'m running a website that shows funny cat pictures. I have a table called CatPictures with the columns Filename, Awesomeness,

3条回答
  •  余生分开走
    2020-12-06 10:18

    Just found that "gap in functionality", it's really sad that filtered indexes are ignored by optimizer. I think I'll try to use indexed views for that, take a look at this article

    http://www.sqlperformance.com/2013/04/t-sql-queries/optimizer-limitations-with-filtered-indexes

提交回复
热议问题