Categories
October Surprise 2024

MySQL :: MySQL 8.4 Reference Manual :: 15.1.15 CREATE INDEX …

Normally, you create all indexes on a table at the time the table itself is created with CREATE TABLE. See Section 15.1.20, ā€œCREATE TABLE Statementā€. This guideline is especially important for InnoDB tables, where the primary key determines the physical layout of rows in the data file.