
mysql
DavidZhang_Java
这个作者很懒,什么都没留下…
展开
-
mysql之index condition pushdown(icp) 索引条件推
索引条件下推优化,先附上MySQL 官网解释:Index Condition Pushdown (ICP) is an optimization for the case where MySQL retrieves rows from a table using an index. Without ICP, the storage engine traverses the index to原创 2015-11-24 11:06:47 · 531 阅读 · 0 评论 -
mysql 联合索引
MySQL 联合索引(复合索引)就是多个列组合,构成一个查询索引。比如建立一个索引 create table A(x int,y int,z int,KEY index (x, y, z));x y z 组成一个联合索引。合理使用联合索引应注意的细节: 1、 复合索引中从左到右列的先后顺序;2、建立索引时,尽量长度小的列排在前面;3、只支持按顺序查找,比如(原创 2015-11-23 13:16:17 · 651 阅读 · 0 评论 -
MySQL 之索引优化(二)
还是参考一篇链接吧:http://tech.meituan.com/mysql-index.html原创 2015-11-26 18:04:54 · 352 阅读 · 0 评论 -
mysql 查看binlog 操作日志及恢复数据
博客链接:http://www.cnblogs.com/martinzhang/p/3454358.html转载 2015-12-30 16:34:58 · 1087 阅读 · 0 评论 -
centos6.5 安装 MySQL5.7
我下载的是那个好几百兆的二进制压缩安装包,具体安装内容,详见官方文档:http://dev.mysql.com/doc/refman/5.7/en/binary-installation.html#binary-installation-layout其实那个rpm 安装方式更方便!原创 2015-12-18 20:20:43 · 1002 阅读 · 0 评论 -
mysql 1130- host is not allowed to connect to this MySql server
报这个错误, 是因为远程mysql 服务默认不会授权其他远程登录用户, 解决办法如下:http://www.cnblogs.com/xyzdw/archive/2011/08/11/2135227.html我的解决办法:1、更改数据库mysql 中的user表:update user set host='%' where user='root';2、GRANT AL原创 2016-06-24 18:12:01 · 539 阅读 · 0 评论