CST 363 Week 5


The web site "Use the Index Luke" has a page on "slow indexes". https://use-the-index-luke.com/sql/anatomy/slow-indexesLinks to an external site.

  • If indexes are to speed up performance of query, what does the author mean by a slow index?
Sometimes indexes can be used in inefficient ways leading to slow queries despite the use of an index. This can happen in different ways but the main two come from either an index not properly filtering out rows or a query can be written in an inefficient way. When an index is designed in a way that many rows with duplicate values are returned it could be the result of an indexed column designed with low selectivity. In the instance of queries written in inefficient ways it could be due to misusing the indexes design resulting in many rows being returned.

Comments

Popular posts from this blog

CST300 Week 2: Drafts and Peer Reviews

Week 4

Interview With an Industry Expert