Database management systems notes

Why the Index Is Ignored

Six reasons a perfectly good index goes unused, and the fix for each. Every section is a drawn page beside a clear written explanation, about 20 minutes in all.

  • Chapter 22 of 34
  • About 20 minutes
  • 7 sections

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

The first drawn page of Why the Index Is Ignored: First: is the database wrong?
The chapter's first page: First: is the database wrong?

In this chapter

  • First: is the database wrong?
  • Cause 1: the column is wrapped in something
  • Cause 2: an implicit type conversion
  • Cause 3: statistics that no longer describe the data
  • Cause 4: columns the planner assumes are independent
  • Causes 5 and 6: OR conditions, and invisible parameters
  • The checklist

Next chapters

Read the whole chapter

Sign in and the chapter opens with every drawn page, and all 35 database management systems chapters beside it.

DSA comes with the all labs plan and every ChaiCode batch.