Skip to main content
InterviewHubPRO
Section Overview
Q26

Question 26 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

52%
SQL & Relational Databases (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

What is a Covering Index and how does it eliminate Table Lookups?

senior LevelMost Askedsql-databasesAdvanced Internals

In Simple Words: A covering index contains all the columns needed to satisfy a query in its index tree (using index keys or INCLUDE (colA, colB)):

  • The database retrieves all requested data directly from the index leaf nodes without touching the physical table heap pages.
  • Results in Index-Only Scans, eliminating expensive random disk I/O.