【MySQL】MySQL 5.7 sys Schema
2016-04-14 13:42
411 查看
sys库说明:http://dev.mysql.com/doc/refman/5.7/en/sys-schema-usage.html
sys库使用说明:http://dev.mysql.com/doc/refman/5.7/en/sys-schema-object-index.html
参考:http://www.cnblogs.com/jiangwenju/p/5157333.html
sys系统数据库结合了information_schema和performance_schema的数据,方便管理者和使用者查看数据库实例运行和使用情况。
打开sys库后可以看到一个表和99个视图,视图有两种,带'x$'的视图检出的数据没有经过转换,不带'x$'的视图检出的数据经过转换便于管理员直接阅读使用。官网的说明如下:
sys库使用说明:http://dev.mysql.com/doc/refman/5.7/en/sys-schema-object-index.html
参考:http://www.cnblogs.com/jiangwenju/p/5157333.html
sys系统数据库结合了information_schema和performance_schema的数据,方便管理者和使用者查看数据库实例运行和使用情况。
打开sys库后可以看到一个表和99个视图,视图有两种,带'x$'的视图检出的数据没有经过转换,不带'x$'的视图检出的数据经过转换便于管理员直接阅读使用。官网的说明如下:
The view without the x$ prefix is intended to provide output that is more user friendly and easier for humans to read. The view with the x$ prefix that displays the same values in raw form is intended more for use with other tools that perform their own processing on the data. For additional information about the differences between non-x$ and x$ views, see Section 24.4.3, “sys Schema Views”.
相关文章推荐
- MySQL外键约束
- MySQL修改数据库编码为UTF8
- MySQL单列索引和组合索引
- MySQL数据库备份和恢复
- 如何进行mysql日志查询
- mysql 备份 还原
- Mysql 自增长字段重置为1
- mysql5.7 修改root密码登录
- OS X平台上MySQL环境搭建
- windows下MySQL 5.7.3.0安装配置图解教程(安装版)
- MySQL入门教程(五)之表的创建、修改和删除
- MySql如何编写高效的SQL
- mysql创建用户和数据库、授权
- mysql语法 -- concat函数
- Mac安装mysql遇到的坑
- MySQL基础十:MySQL图形管理工具
- mysql数据字段加密
- MySql 优化
- Mysql存储过程使用多个游标的处理
- Mysql insert select批量插入