原来使用中的sql2005的全文检索的速度总是不如意,尤其是带rank的。今天搜了一下,原来在freetexttable中还有一个参数top_n_by_rank,是第4个参数。注意还要设置:EXEC sp_configure 'precompute rank', '1'EXEC sp_configu...
分类:
数据库 时间:
2014-06-25 23:42:54
阅读次数:
305
This post introduces the benefits of the Declaring Dependencies on the top of the function or module.
分类:
编程语言 时间:
2014-06-25 15:15:36
阅读次数:
199
接到报警通知,负载过高,达到800%,load也过高,有11了。MySQL版本号为5.6.12-log1 top 之后,确实是mysqld进程占领了全部资源。2 查看error日志,无不论什么异常3 show eninge innodb status\G,没有死锁信息。4 show full pro...
分类:
数据库 时间:
2014-06-25 09:24:54
阅读次数:
234
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-06-24 18:56:54
阅读次数:
240
最近在做表单校验的时候,自己写的addMethod 方法老是不起作用,折腾了接近一天的时间。报的错误如下
Uncaught TypeError: Cannot read property 'call' of undefined
jquery.validate.min.js:28
先来看一下 我自己页面的布局。
top.jsp
上面的截图为top.jsp的头部引用的表单校验jq...
分类:
Web程序 时间:
2014-06-24 17:41:10
阅读次数:
2583
先普及小知识:
STL 中栈的使用方法(stack)
基本操作:
push(x) 将x加入栈中,即入栈操作
pop() 出栈操作(删除栈顶),只是出栈,没有返回值
top() 返回第一个元素(栈顶元素)
size() 返回栈中的元素个数
empty() 当栈为空时,返回 true
STL 中队列的使用(queue)
基本操作:...
分类:
其他好文 时间:
2014-06-22 19:09:51
阅读次数:
169
Given a triangle, find the minimum path sum from top to bottom. Each step you may
move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],...
分类:
其他好文 时间:
2014-06-22 17:07:52
阅读次数:
166
1.普通用法:<ahref="">thisisalink</a>a标签中的属性:·href:值为URL·target:说明在何处打开目标URL,取值为:_blank;_parent;_self;_top;framename·name:规定锚的名称,用href=#name可以跳转到指定的地方·onclick:指定点击响应函数2.特殊用法:·实现..
分类:
Web程序 时间:
2014-06-22 11:54:08
阅读次数:
305
堆排序、利用堆实现最大(小)优先级队列、STL中的heap的使用,利用堆求解top_k类问题。...
分类:
其他好文 时间:
2014-06-21 22:12:31
阅读次数:
291