roopurt18 Posted September 27, 2006 Share Posted September 27, 2006 Is there a query that will return the last date all of the tables in a database were last accessed? By accessed I mean data inserted, retrieved, or other such operations.I ask because I've inherited a project that has a lot of tables that need to go. I've done what I can to eliminate some of them but I want to make sure there's no application code still running queries on them. Quote Link to comment Share on other sites More sharing options...
fenway Posted September 27, 2006 Share Posted September 27, 2006 At least for MyISAM tables, SHOW TABLE STATUS returns a column named update_time. Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted September 27, 2006 Author Share Posted September 27, 2006 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.