MySQL Forums
Forum List  »  General

Re: How to find last access times of MySQL databases?
Posted by: Rick James
Date: January 13, 2010 01:52AM

SHOW TABLE STATUS gives you some information about MyISAM tables, but not InnoDB tables. If you are running InnoDB with file_per_table, looking at the filesystem may help.

Turning on the "general log" and scanning it (programatically!) would tell you who is hitting what tables during the time the log is on. Caution: that file grows fast.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to find last access times of MySQL databases?
January 13, 2010 01:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.