Re:Let's make the web faster: Tools to discover and improve ...
by JoachimSchipper on Wednesday December 08, 2010 @05:35AM
(#1982453)
Yeah, you're right. Call it slapping an index on the column holding actual data. My bad.
(The reason that primary keys tend to be auto-indexed is simple: to verify uniqueness, you need to check whether the primary key of the record being inserted is already in any record. Doing this without indices would be painfully slow.)
(The reason that primary keys tend to be auto-indexed is simple: to verify uniqueness, you need to check whether the primary key of the record being inserted is already in any record. Doing this without indices would be painfully slow.)