2016年8月3日
摘要:
最近做的一个项目涉及到大数据量的数据表查询。数据表总量在7亿-20亿左右,以主键建立全局唯一索引,分区策略是hash分区+范围分区,很大部分情况下查询条件命中记录数超过万条,单次返回前XX条记录。在调优过程中总结出以下经验: (1)在业务规则允许的情况下,尽量减少区间限制条件,即便该属性是索引字段。
阅读全文
posted @ 2016-08-03 23:41
sunshy20081
阅读(210)
推荐(0)
2016年6月15日
摘要:
考虑到原作者版权,本文只提供链接供参考,已经过实践验证。 (1)上传本地工程到Github http://www.cnblogs.com/yc-755909659/p/3753626.html。 (2)从Github同步工程到本地仓库 http://blog.sina.com.cn/s/blog_4
阅读全文
posted @ 2016-06-15 22:29
sunshy20081
阅读(342)
推荐(0)
2016年4月17日
摘要:
(1)Eclipse配置JDK 菜单栏选择preferences->JAVA->Installed JREs->添加自己JDK安装路径 (2)Eclipse配置Tomcat 菜单栏选择preferences->Server->Runtime Environments->添加自己Tomcat并配置安装
阅读全文
posted @ 2016-04-17 00:04
sunshy20081
阅读(232)
推荐(0)
2016年4月13日
摘要:
(1)JDK下载安装与环境配置 1.官网下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html 备注:若下载旧版本,则在Download页面拉到底,可见到Java Archive一栏,点击右
阅读全文
posted @ 2016-04-13 00:22
sunshy20081
阅读(1589)
推荐(0)
2016年3月27日
摘要:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
posted @ 2016-03-27 00:21
sunshy20081
阅读(193)
推荐(0)