1. myisam跟memory支持表级别锁定 BDB 页级锁定 Innodb 行级锁定 2.表锁(不是表嫂哈) lock table read //只读表锁,也就是说执行了这个锁后,锁内的操作只能为读操作 select * from ..... unlock...
分类:
数据库 时间:
2014-07-12 13:07:29
阅读次数:
218
第 1 部分http://www.ibm.com/search/csass/search/?q=%E4%BA%8B%E5%8A%A1&sn=dw&lang=zh&cc=CN&en=utf&hpp=20&dws=cndw&lo=zh概述Spring 最成功,最吸引人的地方莫过于轻量级的声明式事务管理,...
分类:
编程语言 时间:
2014-07-11 23:48:51
阅读次数:
532
项目结构源码:ImageInfo.zip第一步:添加需要的架包metadate-extractor.jar 架包下载地址:https://code.google.com/p/metadata-extractor/downloads/list 或者去Maven仓库下载 http://search......
分类:
编程语言 时间:
2014-07-11 18:15:44
阅读次数:
685
Search Insert PositionGiven a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if ...
分类:
其他好文 时间:
2014-07-11 09:09:33
阅读次数:
211
Description
Let us consider a special type of a binary search tree, called a cartesian tree. Recall that a binary search tree is a rooted ordered binary tree, such that for its every node x the fol...
分类:
其他好文 时间:
2014-07-11 00:12:52
阅读次数:
379
We all know how to search through an array for an element whose value equals the target value, but how to search for the element that has value greate...
分类:
其他好文 时间:
2014-07-10 16:08:21
阅读次数:
168
SHOW INNODB STATUS 语法已变更http://dev.mysql.com/doc/refman/5.0/en/show-innodb-status.html13.7.5.19SHOW INNODB STATUSSyntaxSHOW INNODB STATUSIn MySQL 5.0,...
分类:
数据库 时间:
2014-07-10 15:07:39
阅读次数:
239
原因:没有配置resolv.conf
解决方法:
到/etc目录下配置resolv.conf加入nameserver IP,如:
nameserver 8.8.8.8
nameserver 8.8.4.4
search localdomain
保存再次运行上面命令就可以。
关键一点 serach那一行要在nameserver的后面...
分类:
其他好文 时间:
2014-07-09 13:13:24
阅读次数:
137
限制查询的行和列来提高性能
这条规则非常简单,这里就不细说了。
使用搜索可参数化判断(sargable conditions)来提高性能
Sargable 由 Search ARGument Able 简写而来,字面意思是搜索可参数化?还是比较晦涩哎...
总之使用Sargable判断可以帮助查询优化器更有效地利用索引,并提高采用 index seek 的可能性,我们先把所有的操作符分...
分类:
数据库 时间:
2014-07-09 12:50:31
阅读次数:
288
解决:
选择项目名称-->Targets-->Build Settings-->Search Paths-->Library Search Paths 删除对应路径...
分类:
其他好文 时间:
2014-07-09 11:12:33
阅读次数:
274