Db2为什么syscat.tables中很多表在MON_GET_TABLE()表函数输出中都没有?

问题描述

sycat.tables输出中有很多表,在mon_get_table()的输出中都没有?

原因

这个在mon_get_table()的官方介绍中有说明:

Metrics are returned only for tables accessed since the database was activated.

也就是说,只能返回数据库激活以来,曾经被访问 过的表。如果想看的表在mon_get_table()的输出中没有,可以尝试一下先访问一下该表

猜你喜欢

转载自blog.csdn.net/qingsong3333/article/details/102671337