Quick Answer
An index is a data structure (B-Tree by default in InnoDB) that speeds up data retrieval. Without an index, MySQL scans every row (full table scan). With an index, it jumps to matching rows directly. Creates overhead on INSERT/UPDATE/DELETE (index must be maintained). Index frequently searched, joined, or sorted columns. Too many indexes slow down write operations.
Answer
An index improves read performance by speeding up searches but adds slight overhead to write operations.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.