I\'ve had success in the past storing the (heavily) processed results of a database query in memcached, using the last update time of the underlying tables(s) as part of the
This is MySQL bug 14374, 15438, and underlying InnoDB bug 2681.
I have two suggestions (other than patching MySQL).
innodb_file_per_table), stat the underlying file. You could write a MySQL function/extension to do this. This may lag slightly, due to database caching.I'd personally suggest the second, as its much more portable and doesn't depend on implementation details (such as innodb_file_per_table).