The following is an edited transcription from the #mysql on the Freenode IRC Chat. It is here so that it can be referenced by the IRC bot on that channel.
G> So it's not necessarily a bad idea to use say an autoinc as the primary index of a table?
A> It's a very good idea to have an autoinc primary index. See the Manual.
T> A: I tend to prefer the natural primary key if one exists, unless ORM is an issue.
I> For Innodb autoinc is usually preferrable.
Continue reading "Natural keys vs. auto_increment"
PlanetMySQL Voting: Vote UP / Vote DOWN
G> So it's not necessarily a bad idea to use say an autoinc as the primary index of a table?
A> It's a very good idea to have an autoinc primary index. See the Manual.
T> A: I tend to prefer the natural primary key if one exists, unless ORM is an issue.
I> For Innodb autoinc is usually preferrable.
Continue reading "Natural keys vs. auto_increment"
PlanetMySQL Voting: Vote UP / Vote DOWN