上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 71 下一页
原文:http://mp.weixin.qq.com/s/CDKN_nPcIjzA_U5-xwAE5w 导读 EXPLAIN的结果中,有哪些关键信息值得注意呢? MySQL的EXPLAIN当然和ORACLE的没法比,不过我们从它输出的结果中,也可以得到很多有用的信息。 总的来说,我们只需要关注结果中 Read More
posted @ 2017-04-07 08:34 奋斗终生 Views(1466) Comments(0) Diggs(0) Edit
看了该文章之后,很受启发,mysql在update时,一般也是先select。但注意,在Read Committed隔离级别下,如果没有使用索引,并不会锁住整个表, 还是只锁住满足查询条件的记录而已。使用索引的最佳方式是使用主键,如果我们知道主键的范围(只要是精确范围的超集就可以了),那可以在查询 Read More
posted @ 2017-04-01 20:05 奋斗终生 Views(5059) Comments(1) Diggs(1) Edit
add by zhj: 执行Ansible(发音时,重音在最前面)命令有两种方式,一种是ad hoc形式,另一种是playbooks,对于软件开发者来说,一般使用ad hoc就足够了。playbooks主要是为了命令的复用或者比较复杂的任务,运维人员可能会用到。对于开发人员,使用Ansible一般是 Read More
posted @ 2017-03-30 01:30 奋斗终生 Views(1188) Comments(0) Diggs(0) Edit
原文:http://www.cnblogs.com/wudonghang/p/354289a61129731e7d2075968356e6ad.html Curl 纯文本格式输出: curl icanhazip.com curl ifconfig.me curl curlmyip.com curl  Read More
posted @ 2017-02-24 20:59 奋斗终生 Views(5376) Comments(0) Diggs(1) Edit
原文:http://blog.csdn.net/largetalk/article/details/8640854 1. Sentry介绍及使用 Sentry is a realtime event logging and aggregation platform. At its core it s Read More
posted @ 2017-02-21 03:22 奋斗终生 Views(2381) Comments(0) Diggs(0) Edit
原文:google.com/ncr 虽然天天跟数据打交道,也频繁地使用Excel进行一些简单的数据处理和展示,但长期以来总是小心地避免用Python直接读写Excel文件。通常我都是把数据保存为以TAB分割的文本文件(TSV),再在Excel中进行导入或者直接复制粘贴。 前段时间做一个项目,却不得不 Read More
posted @ 2017-01-06 00:20 奋斗终生 Views(2833) Comments(0) Diggs(1) Edit
原文:http://www.cnblogs.com/leesf456/p/5317574.html 一、前言 在解决昨天的问题时,又引出了很多新的问题,如为什么要进行编码,这些编码的关系如何,如ASCII,IOS-8859-1,GB2312,GBK,Unicode之间的关系,笔者想要彻底理解字符编码 Read More
posted @ 2016-12-19 01:03 奋斗终生 Views(1267) Comments(0) Diggs(1) Edit
add by zhj: 我个人感觉性能优化分析影响性能的因素有哪些,然后按影响力的大小进行排序,然后进行排序。 然后进一步分析每个因素为何会影响性能,把这些因素再找出来,再按影响力大小进行排序。基本上,经过 这两层的分析,基本就够用了。对这些因素思考解决办法。 1. 数据库层 我们的目标是减少IO访 Read More
posted @ 2016-12-05 02:00 奋斗终生 Views(7924) Comments(0) Diggs(0) Edit
add by zhj:这是美团点评技术团队的一篇文章,讲的挺不错的。 原文:http://tech.meituan.com/mysql-index.html MySQL凭借着出色的性能、低廉的成本、丰富的资源,已经成为绝大多数互联网公司的首选关系型数据库。虽然性能出色,但所谓“好马配好鞍”,如何能够 Read More
posted @ 2016-12-05 01:12 奋斗终生 Views(965) Comments(0) Diggs(1) Edit
原文:http://www.cnitblog.com/aliyiyi08/archive/2008/09/09/48878.html 一.语法explain < table_name >例如: explain select * from t3 where id=3952602;二.explain输出 Read More
posted @ 2016-11-30 19:10 奋斗终生 Views(247) Comments(0) Diggs(0) Edit
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 71 下一页