Explain Composite and Covering Indexes in MySQL

Read the full interview experience this question came from →

Quick Overview

Explain how a MySQL composite B-tree index on tenant, status, and creation time serves different query shapes. Cover the leftmost-prefix rule, equality and range predicates, ordering, clustered-key lookups, and when a covering index avoids extra table reads.

Explain Composite and Covering Indexes in MySQL

Company: ByteDance

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: Explain how a MySQL composite B-tree index on tenant, status, and creation time serves different query shapes. Cover the leftmost-prefix rule, equality and range predicates, ordering, clustered-key lookups, and when a covering index avoids extra table reads.

Read the full ByteDance Software Engineer interview experience this question came from

ByteDance logo
ByteDance
Aug 13, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
2
0
Loading...