I’m still confuse on some MySQL documentation regarding INNODB engine index.
Is the primary key on Innodb engine table is automatically index or not?
Do I need to force a duplicate index on the primary key column?
Your help will be much appricated.
thanks
Finau
Primary key is a key by definition.
INDEXterm is synonymous toKEYSo just mark field as
PKand don’t create additional indexes.