摘要: 部分内容引自http://blog.csdn.net/pingpinghi/article/details/4043744http://www.cnblogs.com/wuyisky/articles/928619.html最近,因为项目部分数据表过大,有的单表数据超过千万,影响了查询速度,考虑使用分区。查询了Oracle分区资料,对单表数据按时间跨度做下分区,在当前表空间对现有表做:create table T_ORDER_NEWpartition by range(orderdate)(partition P_ORDER_2011 values less than(to_date(' 阅读全文
posted @ 2012-06-08 17:55 Tigger.W 阅读(437) 评论(0) 推荐(0) 编辑
摘要: public class User{ private String _userId; private String _userName; public String userId { get{return _useId;} set{_userId = value;} } public String userName { get{return _userName;} set{_userName = value;} }}1.对List列表去重://List_User_DistinctBy_userId比较器,继承自IEqualityComparer接口。pu... 阅读全文
posted @ 2012-06-07 15:57 Tigger.W 阅读(12297) 评论(0) 推荐(2) 编辑