今天查看表以前系统表结构sql时看到一个DELAY_KEY_WRITE=1,以前没有接触过,于是查询相关资料以做了解。
MySQL参数DELAY_KEY_WRITE是指在表关闭之前,将对表的update操作指更新数据到磁盘,而不更新索引到磁盘,把对索引的更改记录在内存。这样MyISAM表可以使索.....
分类:
数据库 时间:
2014-06-13 14:00:53
阅读次数:
337
Map接口容器存放的是key-value对,由于Map是按key索引的,因此 key 是不可重复的,但
value 允许重复。
下面简单介绍一下Map接口的实现,包括HashMap,LinkedHashMap,WeakHashMap,Hashtable,IdentityHashMap和TreeM.....
分类:
编程语言 时间:
2014-06-11 12:35:29
阅读次数:
473
centOs下: error: Failed dependencies: 检查依赖性错误
解决方法刚才安装avast的linux版,结果出现了:[root@localhost /]# rpm -ivh
avast4workstation-1.3.0-1.i586.rpmerror: Failed d...
分类:
其他好文 时间:
2014-06-11 12:34:53
阅读次数:
186
/** * 得到属性文件信息 * * @param key * @return */ public
static String getPropertiesByKey(String key) { InputStream in=null; ...
分类:
其他好文 时间:
2014-06-11 11:38:39
阅读次数:
215
在Linux上检出windows
SVN服务器上项目时出现了SSLhandshakefailed:SSLerror:Keyusageviolationincertificatehasbeendetected.的错误。最后通过从网上检索找到了一个答案:
可以同时解决掉在Ubuntu上和CentOS上检...
my %h=%{foo()} #接收hashsub foo{ my %fh; $fh{a}=1;
return \%fh;
#返回hash引用}grep??在hash中,当检验一个元素值是否被定义是用defined,当检验一个key在hash中是否存在时,用exists。
分类:
其他好文 时间:
2014-06-11 09:40:45
阅读次数:
440
人人网的文档写的真的和屎一样,根本就不用那么复杂1.申请 APP key 和 secret
key
网址:http://dev.renren.com/2.点击网页上的按钮,跳转到http://graph.renren.com/oauth/authorize?response_type=code&cl...
分类:
Web程序 时间:
2014-06-11 09:35:36
阅读次数:
427
Incomputer science, aheapis a
specializedtree-baseddata structurethat satisfies theheap property:If A is a
parentnodeof B then the key of node A is or...
分类:
其他好文 时间:
2014-06-11 09:23:53
阅读次数:
376
java 初始化final不可修改的static静态的mapprivate final static
Map textmap = new HashMap();static{ textmap.put(key,value);}
分类:
其他好文 时间:
2014-06-11 08:39:24
阅读次数:
224