MySQL Index (original) (raw)

Skip to content

MySQL uses indexes to rapidly locate rows with specific column values. Without an index, MySQL must scan the entire table to find the relevant rows. The larger the table, the slower the search becomes.

Section 1. Creating and Managing MySQL indexes

This section explains what an index is and shows you how to create, modify, and drop an index.

Section 2. MySQL Index Types

This section discusses various types of indexes and helps you to choose the right indexing strategy for your applications.

Section 3. MySQL Index Hints

This section introduces the index hints that you can use when the query optimizer doesn’t choose the most efficient index for your specific query, or when you want to test with different index options to improve query performance.