- 博客(5)
- 收藏
- 关注
转载 关于mysql处理百万级以上的数据时如何提高其查询速度的方法
1、应尽量避免在 where 子句中使用!=或<>操作符,否则将引擎放弃使用索引而进行全表扫描。2、对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。3、应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num i...
2015-12-29 16:07:00
118
转载 iOS开发网络篇—使用ASI框架进行文件下载
一、简单介绍 代码示例: 1 #import "YYViewController.h" 2 #import "ASIHTTPRequest.h" 3 4 @interface YYViewController () 5 6 7 @end 8 9 @implementation YYViewController 10 11 - (...
2015-07-02 09:57:00
76
转载 UITableView属性方法使用大全
//设置分割线颜色 [self.left_tableView setSeparatorColor:[UIColor blackColor]]; 代理方法:使用前记得绑定delegate与datasource //UITableView返回行数 section判断不同分区返回不同的行数 - (NSInteger)tableView:(UITableView *)tabl...
2015-06-30 22:44:00
71
转载 Property's synthesized getter follows Cocoa naming convention for returning
是因为苹果在新的编码,不推荐变量以new、copy等关键字开头。 根据错误代码查询错误位置 是否变量名以new 或copy 开头 并修改 转载于:https://www.cnblogs.com/mengxz0626/p/4564562.html...
2015-06-09 21:04:00
75
转载 ios实现断点下载
#import "ZYDownViewController.h" @interface ZYDownViewController () @end @implementation ZYDownViewController { // NSMutableData * buffer; long long _totalLength; //文...
2015-05-28 17:02:00
81
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人