Hacker News new | ask | show | jobs
by sgarland 904 days ago
MySQL stores the PK with every secondary index, and uses it to retrieve the requested rows (unless the query is covered by the index). I’d think for most queries, this would result in a similar slowdown.