码迷,mamicode.com
首页 >  
搜索关键字:Force index    ( 36097个结果
PHP多文件上传操作
在前一篇文章里讲到了关于PHP文件上传原理和简单操作举例是单文件上传。http://www.cnblogs.com/lichenwei/p/3879566.html其实多文件上传和单文件上传大同小异,原理都是一样的,只是在代码上做了点小技巧。首先还是index.html上传表单,只是把之前上传文件表...
分类:Web程序   时间:2014-07-31 20:00:27    阅读次数:307
tab切换
(function(){ var tit = $("#tab a"), con = $("#tcontent>div"), cur = 'cur'; tit.mousemove(function(){ var index = tit.index(th...
分类:其他好文   时间:2014-07-31 19:57:47    阅读次数:184
Oracle大数据查询优化
1、对于像状态之类的列,不是很多的,就可以加位图索引,对于唯一的列,就加唯一索引,其余的创建普通索引。2、尽量不要使用select * 这样的查询,指定需要查询的列。3、使用hits select /*+index(索引名称) index(索引名称)*/ supply_id from CSS_SUP...
分类:数据库   时间:2014-07-31 19:56:07    阅读次数:335
一个简单的监控网站是否正常并自动重启服务的shell脚本
#!/bin/sh if [ -z "`curl --connect-timeout 15 --max-time 20 --head --silent http://localhost/index.php|head -n 1|grep ‘200‘`" ];then echo -e "$(date +%Y-%m-%d)\n" killall nginx killall...
分类:Web程序   时间:2014-07-31 17:23:50    阅读次数:301
SQL Server 锁的排队机制
1、新建一个表,插入1010000数据: create table test(id int identity(1,1) ,name varchar(600)) go insert into test values(replicate('a',600)); go 1010000 create index idx_test_id on test(id) 2、新开一个会话(A),运...
分类:数据库   时间:2014-07-31 17:10:27    阅读次数:359
求最小的k个数
和快速排序有点类似,利用快速排序的划分算法, 划分算法见http://blog.csdn.net/buyingfei8888/article/details/8997803 根据int partition(int number[],int start,int end);返回值为数组下标,大小为index,index左边值均小于number【index】,右边均大于number【index】,若...
分类:其他好文   时间:2014-07-31 17:05:16    阅读次数:191
扩展自己的数组核心库
index.html dsFrameWork_Core.js/* * MAP对象,实现MAP功能 * * 接口: * size() 获取MAP元素个数 * isEmpty() 判断MAP是否为空 * clear(...
分类:其他好文   时间:2014-07-31 16:40:46    阅读次数:225
libxml2
http://www.xmlsoft.org/downloads.html 建议直接用openscenegraph下载的3rdparty:http://www.openscenegraph.org/index.php/download-section/dependencies
分类:其他好文   时间:2014-07-31 16:19:16    阅读次数:200
递归函数你玩懂了吗?
/*   * php递归函数的用法  * 你玩过吗?  * 下面开始玩一玩  */ //自己调自己就是回调       实现了一个垒加2垒减2的效果 class digui{     public function index($number){          if($number>0) {              echo $number," ";  ...
分类:其他好文   时间:2014-07-31 13:32:26    阅读次数:142
Struts的上传
文件上传很非常常用的功能,一般的思路都是要么将文件作为二进行数据存储到数据库中,当然这种不常用;还有就是将文件的名字存在数据库中,文件则存在硬盘上一个固定的文件中,这种比较常见,我就介绍比较常见的上传吧,为了简化,并没有将数据入库.          首先在index.jsp页面,写上    测试struts上传                      标题:...
分类:其他好文   时间:2014-07-31 13:26:06    阅读次数:274
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!