Is there some way to determine when a table was last modified? I am using 5.0.27 community and as best as I can determine, there are no fields in either the mysql or the information_schema schemas (what is the plural version of schema?) that tell when a given table was last modified. Do some of the newer servers keep track of what tables are modified and when?
I have some software I wrote that twice daily creates SQL files. There are plenty of tables that do not get modified at all every day I would like to avoid backing them up every day.
If none of the servers keep track of when tables get modified, can I set up a trigger (?) so when an INSERT or UPDATE query is executed against a table something happens such as a mod_table is updated with a mod date? I can then check the date field of the mod_table to determine whether the table should be backed up.
Steve.
I have some software I wrote that twice daily creates SQL files. There are plenty of tables that do not get modified at all every day I would like to avoid backing them up every day.
If none of the servers keep track of when tables get modified, can I set up a trigger (?) so when an INSERT or UPDATE query is executed against a table something happens such as a mod_table is updated with a mod date? I can then check the date field of the mod_table to determine whether the table should be backed up.
Steve.