摘要:
# awk '{a[$1]++;a[$2]++}END{for (i in a)print i "\t" a[i]}' list | grep -w 2 | awk '{print $1}' > double.list# grep -f double.list list10.145.137.125 ... 阅读全文
摘要:
select'Blocker' role, p.id, p.user, left(p.host, locate(':', p.host) - 1) host, tx.trx_id, tx.trx_state, tx.trx_started,timestampdiff(second, tx.trx_s... 阅读全文
摘要:
Linux iostat监测IO状态http://www.orczhou.com/index.php/2010/03/iostat-detail/ 阅读全文
摘要:
mysql 索引与优化http://www.cnblogs.com/hustcat/archive/2009/10/28/1591648.html 阅读全文
摘要:
>>> import re>>> sss = "SELECT a.id,\n a.customer_id as user_id,\n c.image au_icon,\n c.nick_name au_name,\n a.title,\n a.content,\n ... 阅读全文
摘要:
http://su1216.iteye.com/blog/1571083 阅读全文
摘要:
批量inserthttp://blog.csdn.net/xiaoxian8023/article/details/20155429Mysqljdbc批处理数据,需要给jdbc连接加上rewriteBatchedStatements=true。默认jdbc是不会开启批处理。 例如:jdbc:mys... 阅读全文
摘要:
在5.5中,information_schema 库中增加了三个关于锁的表(MEMORY引擎):innodb_trx ## 当前运行的所有事务innodb_locks ## 当前出现的锁innodb_lock_waits ## 锁等待的对应关系root@127.0.0.1 : information... 阅读全文
摘要:
浅析Java中的final关键字http://www.cnblogs.com/dolphin0520/p/3736238.html快捷键使用方法:F8resume跳到下一个断点F7stepreturn返回到调用的地方(好比你按F5进入了调用函数的内部,要想回到调用处,就点击F7)F6stepover... 阅读全文