【发布时间】:2012-10-08 07:18:54
【问题描述】:
有什么方法可以知道对表执行最后一个 select 语句的时间?我正在使用 InnoDB 存储引擎。
我尝试过以下查询:
select update_time,table_name from information_schema.tables where table_schema='databasename';
..但我在update_time 列中收到NULL。
【问题讨论】:
-
select update_time,table_name from information_schema.tables where table_schema='databasename';但是如果我尝试这个,我会在 update_time 列中得到空值
-
编辑您的问题并在此处添加代码,以及您认为值得添加以澄清您的问题的任何评论