MySQl中关于Cardinality的理解
2016-06-18 16:47
726 查看
Cardinality的定义:In SQL (Structured
Query Language), the term cardinality refers
to the uniqueness of
data values contained in a particular column (attribute) of a database table.
The lower the cardinality, the more duplicated elements in a column. Thus, a column with the lowest possible cardinality would have the same value for every row. SQL databases use cardinality to help determine the optimal query
plan for a given query.
Cardinality的作用:QL
databases use cardinality to help determine the optimal query
plan for a given query.
参考链接:http://dev.mysql.com/doc/refman/5.7/en/show-index.html
https://en.wikipedia.org/wiki/Cardinality_(SQL_statements)
中文博客:http://blog.csdn.net/lxpbs8851/article/details/8477471
Query Language), the term cardinality refers
to the uniqueness of
data values contained in a particular column (attribute) of a database table.
The lower the cardinality, the more duplicated elements in a column. Thus, a column with the lowest possible cardinality would have the same value for every row. SQL databases use cardinality to help determine the optimal query
plan for a given query.
Cardinality的作用:QL
databases use cardinality to help determine the optimal query
plan for a given query.
参考链接:http://dev.mysql.com/doc/refman/5.7/en/show-index.html
https://en.wikipedia.org/wiki/Cardinality_(SQL_statements)
中文博客:http://blog.csdn.net/lxpbs8851/article/details/8477471
相关文章推荐
- Mysql实现ROW_NUMBER() over(PARTITION BY column1 order by column2)
- Mysql中int(2)和int(10)的区别
- Mysql安装问题
- MySQL(root用户)密码重置
- saltstck源码安装mysql
- MySQL主从复制:ERROR 1201 (HY000): Could not initialize master info structure.
- MySQL批量修改数据库的字符集
- MYSQL 免安装版配置
- 修改mysql root密码的方法
- 扛得住双11的Mysql
- 在Mysql中如何显示所有用户?
- mybatis连接mysql数据库插入中文乱码
- 思考mysql内核之初级系列
- mysql停止查询线程
- MySQL安装板安装及配置详细图解
- mysql内核源代码深度解析 缓冲池 buffer pool 整体概述
- MySQL5.7 更改root密码时报错
- mysql非安装版安装与配置
- mysql中binlog_format模式与配置详解
- 删除mysql-bin日志(mysql-bin.00001)导致mysql无法启动的解决方法