INFORMATION_SCHEMA表

从V9.0.5开始支持以下information_schema通用表:

表名 描述
information_schema.tables 提供数据库中各个表的信息
information_schema.table_privileges 提供关于表级权限的信息
information_schema.partitions 提供关于表分区的信息。该表中的每一行对应于一个被分区表的单个分区或子分区
information_schema.columns 提供关于表中各列的信息
information_schema.column_privileges 提供关于列级权限的信息
information_schema.key_column_usage 描述哪些关键列具有约束
information_schema.views 提供数据库中视图的信息
information_schema.routines 提供了关于存储过程(stored procedures)和存储函数(stored functions)的信息。该表不包括内建(native)函数或可加载的函数(loadable functions)
information_schema.triggers 提供关于触发器(Triggers)的信息
information_schema.table_constraints 用于描述哪些表具有约束(constraints)
information_schema.schemata 提供关于数据库的信息
information_schema.schema_privileges 提供关于模式(数据库)级权限的信息
information_schema.statistics 提供有关表索引的信息
information_schema.collations 提供每种字符集对应的排序规则(collation)信息
information_schema.character_sets 提供可用字符集的信息