如何获取未使用的表

问题描述 投票:0回答:0

我只想获取过去 1 年未使用的那些表,但我没有得到任何数据,因为 information_Schema update_time 只保存最近一年的数据,它没有去年的任何值,而且 information_schema 的 create_time 将不包含任何内容我创建新表,我用来获取这些表的查询是:

SELECT 名称,update_time 来自 information_schema.TABLES 在哪里更新时间< DATE_SUB(NOW(), INTERVAL 1 year);

我正在使用 AWS RDS 服务器,请告诉我我的 informatiom_schema 不包含 create_time 中的任何值和 update_time 中的先前日期的问题是什么,是否有任何我需要启用的东西或我应该使用的其他东西 等待您的回复 提前致谢。

mysql amazon-web-services amazon-rds information-schema
© www.soinside.com 2019 - 2024. All rights reserved.