Sixteen Locks Ought to Be Enough for Anybody

Every query locks every index on a table, even ones it doesn't use.