InnoDB requires that every table has such an index (also called the clustered index or cluster index)
the primary key determines the physical layout of rows in the data file. ie it organizes the table storage based on the column values of the primary key.
Example
CREATE TABLE phpgw_lang (
lang varchar(5) NOT NULL DEFAULT '',
app_name varchar(100) NOT NULL DEFAULT 'common',
message_id varchar(255) NOT NULL DEFAULT '',
content text,
PRIMARY KEY(lang,app_name(75),message_id(100))
);
where:
the length in characters of the primary key is 180: