上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 123 下一页
摘要: 铺助索引 主健 a=5 recordlock[5] a<5 next_keylock[1,3,5] a<=5 next_keylock[1,3,5,7] a>5 next_keylock[7,9,sup] a>=5 next_keylock[5,7,9,sup] b=15 recordlock[5] 阅读全文
posted @ 2016-06-24 18:02 zengkefu 阅读(284) 评论(0) 推荐(0)
摘要: myisam:mysql> explain select * from cc; + + + + + + + + + + + | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 阅读全文
posted @ 2016-06-23 18:46 zengkefu 阅读(224) 评论(0) 推荐(0)
摘要: mysql默认时区:mysql> show variables like '%time_zone%'; + + + | Variable_name | Value | + + + | system_time_zone | PDT | | time_zone | SYSTEM | + + + 2 ro 阅读全文
posted @ 2016-06-23 16:57 zengkefu 阅读(4175) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/michaelrun/article/details/4616798 http://blog.csdn.net/yasaken/article/details/8742452 http://blog.csdn.net/songbohr/article/det 阅读全文
posted @ 2016-06-23 16:16 zengkefu 阅读(2316) 评论(0) 推荐(0)
摘要: In version MySQL 5.7.7 Oracle presented a new promising feature: optimizer hints. However it did not publish any documentation about the hints. The on 阅读全文
posted @ 2016-06-23 11:47 zengkefu 阅读(398) 评论(0) 推荐(0)
摘要: http://dev.mysql.com/doc/internals/en/tracing-example.html http://blog.chinaunix.net/uid-20785090-id-5597524.html 主要分为三个部分 join_preparation:SQL的准备阶段,s 阅读全文
posted @ 2016-06-23 11:14 zengkefu 阅读(672) 评论(0) 推荐(0)
摘要: http://www.innomysql.com/article/25241.html 1 key_len的含义 2 MySQL中key_len计算规则 3 通过key_len分析联合索引 本文首先介绍了MySQL的查询计划中ken_len的含义;然后介绍了key_len的计算方法;最后通过一个伪造 阅读全文
posted @ 2016-06-23 10:36 zengkefu 阅读(844) 评论(0) 推荐(1)
摘要: mysql -h 127.0.0.1 -P 3306 -u root -p -D test --batch --skip-column-name --execute="select * from tab_important" D:数据库 batch:输出结果无线框 skip-column-name: 阅读全文
posted @ 2016-06-23 07:31 zengkefu 阅读(1193) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/wyzxg/article/details/8626814 http://blog.itpub.net/22664653/viewspace-750408/ 因为一个收集集团机器的历史性能的数据库的一个表涨到2.2 T,而磁盘空间总共2.6 T,和开发讨论之 阅读全文
posted @ 2016-06-22 21:41 zengkefu 阅读(384) 评论(0) 推荐(0)
摘要: http://blog.163.com/li_hx/blog/static/183991413201642410122327/mysql> CREATE TABLE t1 (a INT, b INT); Query OK, 0 rows affected (0.22 sec) mysql> CREATE TABLE t2 (c INT, d INT); Query OK, 0 rows aff... 阅读全文
posted @ 2016-06-22 19:24 zengkefu 阅读(1713) 评论(0) 推荐(0)
摘要: 1 读写比例: 1 读写比例: 1 读写比例: show global status like 'com_select'; 获得服务器启动到目前查询操作执行的次数;show global status like 'com_insert'; 获得服务器启动到目前插入操作执行的次数;show globa 阅读全文
posted @ 2016-06-22 18:05 zengkefu 阅读(3959) 评论(0) 推荐(0)
摘要: http://tech.meituan.com/mysql-index.html 阅读全文
posted @ 2016-06-22 17:59 zengkefu 阅读(170) 评论(0) 推荐(0)
摘要: 开启MYSQL远程连接权限 1 2 3 4 5 //建议设置固定IP mysql> GRANT ALL PRIVILEGES ON *.* TO root@"8.8.8.8" IDENTIFIED BY "root"; mysql> flush privileges; //修改防火墙 iptable 阅读全文
posted @ 2016-06-22 17:56 zengkefu 阅读(222) 评论(0) 推荐(0)
摘要: MySQL比较理想的最大连接数计算方式为: 1 max_used_connections / max_connections * 100% ≈ 85% 1 max_used_connections / max_connections * 100% ≈ 85% 1 1 max_used_connect 阅读全文
posted @ 2016-06-22 17:53 zengkefu 阅读(886) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/moonvs2010/article/category/1570309 阅读全文
posted @ 2016-06-22 17:29 zengkefu 阅读(242) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/justlinux2010/article/details/9905425 阅读全文
posted @ 2016-06-22 17:15 zengkefu 阅读(158) 评论(0) 推荐(0)
摘要: 1.https://www.percona.com/blog/2016/05/26/monitoring-with-percona-app-for-grafana/ http://pmmdemo.percona.com/ 2.https://www.percona.com/blog/2016/02/ 阅读全文
posted @ 2016-06-22 14:01 zengkefu 阅读(456) 评论(0) 推荐(0)
摘要: rsyslog服务和logrotate服务 rsyslog 是一个 syslogd 的多线程增强版。现在Fedora和Ubuntu, rhel6默认的日志系统都是rsyslog了rsyslog负责写入日志, logrotate负责备份和删除旧日志, 以及更新日志文件————————————————— 阅读全文
posted @ 2016-06-22 13:56 zengkefu 阅读(35289) 评论(1) 推荐(1)
摘要: http://www.cnblogs.com/sammyliu/p/5225623.html 阅读全文
posted @ 2016-06-22 13:51 zengkefu 阅读(322) 评论(0) 推荐(0)
摘要: redis tcp-backlog配置 在redis2.8版本中有一个tcp-backlog配置, 说明如下: # TCP listen() backlog.## In high requests-per-second environments you need an high backlog in 阅读全文
posted @ 2016-06-22 13:41 zengkefu 阅读(766) 评论(0) 推荐(0)
摘要: http://jagt.github.io/clumsy/download.html 阅读全文
posted @ 2016-06-22 12:41 zengkefu 阅读(268) 评论(0) 推荐(0)
摘要: linux诡异的半连接(SYN_RECV)队列长度(一) >>转载请注明来源:飘零的代码 piao2010 ’s blog,谢谢!^_^>>本文链接地址:linux诡异的半连接(SYN_RECV)队列长度(一) 最近在学习TCP方面的基础知识,对于古老的SYN Flood也有了更多认识。SYN Fl 阅读全文
posted @ 2016-06-22 12:29 zengkefu 阅读(18757) 评论(3) 推荐(2)
摘要: https://github.com/Rover-Yu 阅读全文
posted @ 2016-06-22 12:27 zengkefu 阅读(403) 评论(0) 推荐(0)
摘要: http://blog.chinaunix.net/uid-29075379-id-3944364.html 阅读全文
posted @ 2016-06-22 11:59 zengkefu 阅读(278) 评论(0) 推荐(0)
摘要: http://blog.itpub.net/15480802/viewspace-755582/ 在服务器级别只提供了query cache,而在存储引擎级别,MyISAM和InnoDB分别引入了key cache和buffer pool 什么是query cache Mysql没有shared_p 阅读全文
posted @ 2016-06-22 10:56 zengkefu 阅读(4126) 评论(0) 推荐(0)
上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 123 下一页