- 博客(47)
- 资源 (2)
- 收藏
- 关注
原创 mysql表结构导出
mysqldump --socket /var/lib/mysql/mysql.sock --opt -d newtaxi -u newtaxi -p > /tmp/table.txt
2014-02-28 20:29:00
737
原创 mysql 查看哪些host连接到数据库
SELECT SUBSTRING_INDEX(host, ':', 1) AS host_short, GROUP_CONCAT(DISTINCT USER) AS users, COUNT(*)FROM information_schema.processlistGROUP BY host_shortORDER BY COUNT(*),
2014-02-27 19:11:16
7450
原创 mysql 批量更新性能优化
# Query_time: 1831.375521 Lock_time: 0.122548 Rows_sent: 0 Rows_examined: 100000update table set calac = 1 where orderId in ( 42808789 , 42807591
2014-02-26 15:37:41
3138
原创 linux 网络命令
iptables -L -ndig @202.96.128.86 baidu.comroute -nvi /etc/resolv.conf
2014-02-26 14:56:52
702
原创 ibatis typeHandler 转换数据库类型到枚举类型
ibatis typeHandlerhttp://www.apachebookstore.com/confluence/oss/display/IBATIS/How+do+I+use+a+Custom+Type+Handler+with+complex+property+or+Type+Safe+Enumeration?decorator=printable
2014-02-24 20:51:49
2336
原创 linux 常用命令
1 stat 查看文件修改时间,访问时间,状态修改时间http://blog.csdn.net/rocky2com/article/details/5644096
2014-02-24 09:47:32
855
1
原创 jvm 启动参数设置
http://help.sap.com/saphelp_nwce10/helpdata/en/f0/cec51dabd1461b87e4db9e3958710e/content.htm
2014-02-23 19:56:34
2482
1
转载 gc 分析
http://www.thecoderscorner.com/team-blog/java-and-jvm/8-gc-monitoring-in-java-with-jstat#.Uwm-i_mSxZ0
2014-02-23 17:31:08
692
转载 jstack dump分析
http://www.cnblogs.com/zhengyun_ustc/archive/2013/01/06/dumpanalysis.html
2014-02-23 15:54:30
768
原创 mongodb 性能优化深入浅出
第一步看mongo全局的运行情况mongostat命令详解 点击打开链接异常1 connection refused because too many open connections: 819使用 db.serverStatus().connections 查看参考文档1 索引优化 http://www.csdn
2014-02-22 12:20:42
1720
转载 java excel 解析
http://www.cnblogs.com/xudong-bupt/archive/2013/03/19/2969997.html
2014-02-21 19:40:12
638
转载 virtualbox 安装
http://teacher.tchcvs.tc.edu.tw/wangwang/textbook/general/software/win7pe.pdf
2014-02-18 23:32:52
714
转载 ibatis resultType vs ResultMap
MyBatis中在查询进行select映射的时候,返回类型可以用resultType,也可以用resultMap,resultType是直接表示返回类型的,而resultMap则是对外部ResultMap的引用,但是resultType跟resultMap不能同时存在。在MyBatis进行查询映射的时候,其实查询出来的每一个属性都是放在一个对应的Map里面的,其中键是属性名,值则是其对应的值。当提
2014-02-18 20:09:31
1676
转载 mongodb 安装
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-linux/
2014-02-16 22:35:46
511
转载 linux X windows介绍
http://vbird.dic.ksu.edu.tw/linux_basic/0590xwindow.php
2014-02-16 19:26:19
719
转载 java 开源代码分析工具汇集
http://stackoverflow.com/questions/4470329/free-uml-sequence-diagram-reverse-engineering-eclipse-plugin-working-out-of-the
2014-02-14 16:54:59
777
原创 eclipse 文本搜索正则表达式
http://www.eclipse.org/tptp/home/downloads/installguide/gla_42/ref/rregexp.html1 查询含 update Driver 所有的文件搜索\s*update\s*Driver\s
2014-02-14 13:37:54
1130
原创 mongo 索引优化
Run your db.collection.find(...) queries with .explain() tacked onto the end. That is the single most useful way to see how queries are running:http://www.mongodb.org/display/DOCS/ExplainYou can als
2014-02-13 16:28:36
924
原创 github 使用
git clone git@github.com:chinaccj/java.git git status git add * git commit -m 'init respostory' git push
2014-02-12 21:11:03
584
原创 在linux下抓mysql query查询
安装gcchttp://flyingdutchman.iteye.com/blog/1885564升级python版本http://flyingdutchman.iteye.com/blog/1885564安装cap包yum install libcap-devel yum install libcap
2014-02-12 14:18:54
943
转载 linux 软件安装 yum命令学习
http://www.cnblogs.com/zhuboxingzbx/archive/2008/02/18/1072676.html
2014-02-12 14:15:42
754
原创 ReentrantLock 源码分析
final boolean nonfairTryAcquire(int acquires) { final Thread current = Thread.currentThread(); int c = getState(); if (c == 0) { if (compareAndS
2014-02-12 10:45:01
790
转载 Mysql binlog and The General Query Log
https://dev.mysql.com/doc/refman/5.0/en/binary-log.html
2014-02-12 10:21:26
689
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅