大纲:一、概述二、什么是性能调优?(what)三、为什么需要性能调优?(why)四、什么时候需要性能调优?(when)五、什么地方需要性能调优?(where)六、什么人来进行性能调优?(who)七、怎么样进行性能调优?(How)八、总结注,硬件配置:CUPXeonE5620x28核心,内存16G,硬盘RAID10..
分类:
其他好文 时间:
2014-07-15 11:44:32
阅读次数:
460
我们在做多个字段模糊查询时,是不是觉得非常麻烦?比如我要模糊查询某表多个字段存在某数据时,如下select * from table where a like '%key%' or b like '%key%'orc like '%key%'..........上面的语句不但长,而且写起来好麻烦。我...
分类:
其他好文 时间:
2014-07-15 10:09:51
阅读次数:
231
using System.Linq;var threads = System.Diagnostics.Process.GetCurrentProcess().Threads;var count = threads.Count;var actived = threads.Cast().Where(t ...
分类:
编程语言 时间:
2014-07-14 22:31:10
阅读次数:
218
mysql是必有的数据库,用于存放超级用户和管理一些权限。update user set password=password("123321") where user='root'; 更新root的密码为123321flush privileges; 对数据库进行刷新mysql -u root -p...
分类:
数据库 时间:
2014-07-14 21:53:46
阅读次数:
248
平面和网格相交策略The standard equation of a plane isA x + B y + C z + D = 0 where (A,B,C) is the unit normal. The value of D is determined by substituting in ...
分类:
其他好文 时间:
2014-07-14 19:35:04
阅读次数:
345
select ascii(字段)数字:48-57字母:65-123汉字:123+select * from t1 where len(unicode(c1)) = @iBEGIN DECLARE @ChcekValue int SELECT @ChcekValue = ASCII...
分类:
数据库 时间:
2014-07-14 17:45:28
阅读次数:
467
/*
E - E
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu
Submit
Status
Practice
UVA 10474
Description
Where is the Marble?
Raju and Meena love to play with Marbles. T...
分类:
其他好文 时间:
2014-07-14 17:26:26
阅读次数:
269
计算出orgs_info表code字段数据包含指定字符串'-'的个数select * from orgs_info where length(code)-length(replace(code,'-',''))=3
分类:
数据库 时间:
2014-07-14 15:09:56
阅读次数:
249
Finding the Centroid of a Room Boundary It's been a while since my last post and I'm sure most of you were like... "Where the hell is Don!".... it's o...
分类:
其他好文 时间:
2014-07-14 10:35:17
阅读次数:
247
SELECT object_name (i.id) TableName, rows as RowCnt FROM sysindexes i INNER JOIN sysObjects o ON (o.id = i.id AND o.xType = 'U ') WHERE indid < 2 OR.....
分类:
数据库 时间:
2014-07-14 10:28:42
阅读次数:
248