mysql 执行计划走分区
来源:互联网 发布:淘宝客 编辑:程序博客网 时间:2024/05/22 10:08
mysql> EXPLAIN PARTITIONS select count(*) from history where clock<1438876800;+----+-------------+---------+------------+-------+---------------+-----------+---------+------+------+--------------------------+| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | Extra |+----+-------------+---------+------------+-------+---------------+-----------+---------+------+------+--------------------------+| 1 | SIMPLE | history | p20150806 | index | NULL | history_1 | 12 | NULL | 5250 | Using where; Using index |+----+-------------+---------+------------+-------+---------------+-----------+---------+------+------+--------------------------+1 row in set (0.00 sec)mysql> EXPLAIN PARTITIONS select count(*) from history where clock<143899999;+----+-------------+---------+------------+-------+---------------+-----------+---------+------+------+--------------------------+| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | Extra |+----+-------------+---------+------------+-------+---------------+-----------+---------+------+------+--------------------------+| 1 | SIMPLE | history | p20150806 | index | NULL | history_1 | 12 | NULL | 5250 | Using where; Using index |+----+-------------+---------+------------+-------+---------------+-----------+---------+------+------+--------------------------+1 row in set (0.00 sec)mysql> EXPLAIN PARTITIONS select count(*) from history where clock<1439049600;+----+-------------+---------+-------------------------------+-------+---------------+-----------+---------+------+-------+--------------------------+| id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | Extra |+----+-------------+---------+-------------------------------+-------+---------------+-----------+---------+------+-------+--------------------------+| 1 | SIMPLE | history | p20150806,p20150807,p20150808 | index | NULL | history_1 | 12 | NULL | 71310 | Using where; Using index |+----+-------------+---------+-------------------------------+-------+---------------+-----------+---------+------+-------+--------------------------+1 row in set (0.00 sec)
0 0
- mysql 执行计划走分区
- mysql 执行计划走索引
- mysql tokudb执行计划走的不准确案例
- Oracle分区执行计划
- oracle 分区 索引 执行计划
- explain mysql 执行计划
- Mysql查看执行计划
- MySQL执行计划解读
- MySQL执行计划解读
- Mysql执行计划
- MySQL执行计划
- MYSQL 执行计划
- MySQL执行计划解读
- Mysql执行计划
- MySQL执行计划
- MySQL执行计划解读
- MySQL执行计划解读
- MySQL执行计划解读
- 小贝_redis 高级应用-事务
- NYOJ 36 最长公共子序列
- 新浪微博passport登录原理
- 数据结构 -- 并查集
- webservice之jdk自带wsimport
- mysql 执行计划走分区
- 编码剖析Spring装配基本属性的原理
- zendframework1.0框架程手册
- 主成分分析法
- 维度模型数据仓库基础对象概念一览
- 类别
- Zend Framework教程-入门相关
- Android开发:shape和selector和layer-list的(详细说明)
- C语言:数组指针、指针数组、指针的指针、函数指针