Say I have a table with 3 columns: ID (PK), Name, Age.
Say ID has an index on it, name has an index on it, and there is another index which combines id and name. Lets say I now have an update statement which looks like this:
UPDATE table SET AGE = 69 WHERE id = 'some_id';
I am only updating the AGE column, so will MySQL still update the indexes even though non of the indexed columns were modified or will it leave the indexes alone?