I\'ve got a little question: what is the difference in performance between the primary and secondary indexes? what causes this difference?
I\'m googling around, and
A clustered table is a B-Tree without "heap" portion - rows are stored directly in the B-Tree structure of the clustering index (primary key). Nodes of the B-Tree can be split or coalesced, so the physical location or rows can change, so we can't have a simple "pointer" from a secondary index to the rows, so the secondary index must include a complete copy of the primary index fields to be able to reliably identify rows.
This is true for Oracle, MS SQL Server and is also true for InnoDB.
Which means secondary indexes in clustered tables are "fatter" than secondary indexes in heap-based tables, which:
Let me quote Use The Index, Luke!: "The advantages of index-organized tables and clustered indexes are mostly limited to tables that do not need a second index."
Which is shame, since MySQL doesn't let you choose the clustering independently from the storage engine.