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.
