上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页
摘要: http://www.percona.com/files/presentations/WEBINAR2012-03-Optimizing-MySQL-Configuration.pdfhttp://pan.baidu.com/s/1jGBgy6U 阅读全文
posted @ 2013-12-23 11:50 小郭学路 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1、安装java:[hadoop@typhoeus79 hadoop]$ java -versionjava version "1.6.0_24"Java(TM) SE Runtime Environment (build 1.6.0_24-b07)Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)[hadoop@typhoeus79 hadoop]$ echo $JAVA_HOME/usr/java/jdk1.6.0_302、配置SSH建立主从之间的信任关系3、在三台主机上分别设置/etc/host 阅读全文
posted @ 2013-12-20 19:40 小郭学路 阅读(261) 评论(0) 推荐(0) 编辑
摘要: OpenTSDB - A Distributed, Scalable Monitoring Systemhttp://opentsdb.net/getting-started.htmlhttp://www.searchtb.com/2012/07/opentsdb-monitoring-system.htmlhttp://abloz.com/hbase/book.html#d613e75基于以上实现MySQL监控 阅读全文
posted @ 2013-12-20 11:51 小郭学路 阅读(461) 评论(0) 推荐(0) 编辑
摘要: GC(Garbagecollection)垃圾回收所谓GC就是把一个闪存块里的"有效"页数据复制到一个"空白"块里,然后把这个块完全擦除。GC是 SSD里的一个非常关键的操作,其效率对性能有决定性影响。闪存块里"有效"页的数量对GC效率有决定性的影响,因数量越少,需要复制的页就越少, 花费的时间也越少,效率就高了。请看下图,把X块和Y块里的“有效”页复制到N块里,然后擦除X和Y以作备用的“空白块”。 由前面的WL机制可知,WL的执行需要有“空白”块来写入更新后的数据。当可以直接写入数据的备用“空白块”数量低于一个阈值(厂商在主控 固件 阅读全文
posted @ 2013-12-19 12:17 小郭学路 阅读(1835) 评论(0) 推荐(0) 编辑
摘要: 初始化1、安装tar zxvf innotop-1.9.1.tar.gz cd innotop-1.9.1perl Makefile.PLmake install例子:innotop -h 127.0.0.1 -u root -p mysecret(待续)http://www.mysqlperformanceblog.com/2013/10/14/innotop-real-time-advanced-investigation-tool-mysql/ 阅读全文
posted @ 2013-12-17 14:00 小郭学路 阅读(147) 评论(0) 推荐(0) 编辑
摘要: http://blog.chinaunix.net/uid-20544356-id-290882.html在使用urllib的时候经常会死掉,以前debug过,是没有设置 timing out 所以超时后就会死掉。PycURL是curl的python库,虽然有些curl的功能没有实现,但是还是很强劲的。 curl是非常强劲的一个工具,google内部用它来 debug GDATA API. Using cURL to interact with Google data services 可以去 http://pycurl.sourceforge.net/ 下载最新的PycURL。 简单的Pyc 阅读全文
posted @ 2013-12-16 14:46 小郭学路 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 问题1:curl: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file解决方案:ldconfig -vldconfig作用:/sbin/ldconfig - configure dynamic linker run time bindings-v Verbose mode. Print current version number, the name of each directory as it is scanned, and a... 阅读全文
posted @ 2013-12-13 19:00 小郭学路 阅读(428) 评论(0) 推荐(0) 编辑
摘要: http://dimitrik.free.fr/db_STRESS_MySQL_540_Purge_Lag_and_Ahead_Flushing_Jun2009.htmlhttp://dimitrik.free.fr/db_STRESS_MySQL_540_Purge_Lag_and_Ahead_Flushing_Fixed_Aug2009.htmlhttp://dimitrik.free.fr/db_STRESS_MySQL_InnoDB_dirty_pages_and_log_size_impact_May2009.html#note_5581 阅读全文
posted @ 2013-12-06 16:25 小郭学路 阅读(371) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/yuxc/archive/2011/08/01/2123995.htmlhttp://blog.csdn.net/wklken/article/details/7364390Python 标准库中有很多实用的工具类,但是在具体使用时,标准库文档上对使用细节描述的并不清楚,比如 urllib2 这个 HTTP 客户端库。这里总结了一些 urllib2 库的使用细节。1 Proxy 的设置2 Timeout 设置3 在 HTTP Request 中加入特定的 Header4 Redirect5 Cookie6 使用 HTTP 的 PUT 和 DELET 阅读全文
posted @ 2013-12-04 19:24 小郭学路 阅读(290) 评论(0) 推荐(0) 编辑
摘要: MySQL长短密码今天批量搭建MySQL环境的时候,遇到长短密码问题,故就此问题总结一下长短密码。介绍1、长密码例子:mysql> show grants for 'test'@'localhost';+--------------------------------------------------------------------------------------------------------------+| Grants for test@localhost ... 阅读全文
posted @ 2013-11-27 20:56 小郭学路 阅读(594) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页