会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lifeng_study
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
下一页
2016年6月26日
mysql 优化大致方向
摘要: 1:从SQL以及索引方向(最基本的的) 具体操作,可以借助mysql自带的的工具mysqldumpslow,也可以借助第三方工具pt-query-digest这个更仔细些 第二:从表结构方向 具体操作:a是表字段的选取(能存在内容的时候尽量选取小的字段,占更小的空间) ,a是否遵循第三范式,b是垂直
阅读全文
posted @ 2016-06-26 17:57 lifeng_study
阅读(252)
评论(0)
推荐(0)
2016年6月22日
mongoDB学习笔记
摘要: 1:建立全文索引 db.article01.ensureIndex( { "$**": "text" },{ name: "TextIndex" }); db.article01.insert({article:"lifeng"}); db.article01.insert({auth:"xxxx"
阅读全文
posted @ 2016-06-22 16:45 lifeng_study
阅读(121)
评论(0)
推荐(0)
2016年6月7日
MySQL实现类似Oracle序列的函数
摘要: drop table if exists sequence; create table sequence ( seq_name VARCHAR(50) NOT NULL, current_val INT NOT NULL, increment_val INT NOT NULL DEFAULT 1,
阅读全文
posted @ 2016-06-07 14:08 lifeng_study
阅读(707)
评论(0)
推荐(0)
2016年5月27日
将本地jar包上传到maven私服上
摘要: 1:命令 mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.2.1 -Dpackaging=jar -Dfile=D:\ojdbc6-11.2.0.2.1.jar -Durl=http:/
阅读全文
posted @ 2016-05-27 17:15 lifeng_study
阅读(1420)
评论(0)
推荐(0)
2015年11月12日
linux下常用命令
摘要: 排名10的ip访问cat server.log | cut -f1 -d " " | sort | uniq -c | sort -k 1 -n -r | head -10访问排名前10的URLcat server.log | cut -f4 -d " " | sort | uniq -c | so...
阅读全文
posted @ 2015-11-12 10:00 lifeng_study
阅读(166)
评论(0)
推荐(0)
2015年8月12日
logback + slf4j 学习
摘要: 1:在web.xml文件配置Listener logbackConfigLocation classpath:logback.xml ch.qos.logback.ext.spring.web.LogbackConfigListener 2:log...
阅读全文
posted @ 2015-08-12 17:02 lifeng_study
阅读(441)
评论(0)
推荐(0)
2015年7月28日
注解学习实例(模拟hibernate,table,column注解,拼装SQL)
摘要: 直接上代码package com.guoxinet.o2o.annotation;import java.lang.annotation.Documented;import java.lang.annotation.ElementType;import java.lang.annotation.In...
阅读全文
posted @ 2015-07-28 17:48 lifeng_study
阅读(1048)
评论(0)
推荐(0)
2015年4月16日
查询数据库锁的SQL
摘要: SELECT bs.username "Blocking User", bs.username "DB User", ws.username "Waiting User", bs.SID "SID", ws.SID "WSID", bs.serial# "Seri...
阅读全文
posted @ 2015-04-16 10:25 lifeng_study
阅读(423)
评论(0)
推荐(0)
2015年4月6日
面试总结
摘要: 问题范围:1:AOP原理,springmvc工作原理,IOC的原理,还有mybatis的工作原理2:分布式事物,大数据怎么弄3:线程死锁,wait和sleep区别,让你描述一个多线程的计数器4:gc原理
阅读全文
posted @ 2015-04-06 21:03 lifeng_study
阅读(145)
评论(0)
推荐(0)
2015年4月1日
拼装SQL.例子
摘要: select 'update adempiere.m_product p set p.length=' || p.length || ' , p.width=' || p.width || ' , p.height=' || p.height || ', p.weight =...
阅读全文
posted @ 2015-04-01 17:14 lifeng_study
阅读(160)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告