5,5默认存储引擎是innodb,所以一起动就占用了三百多的虚拟内存,我们一般用的存储引擎是MyISAM,需要禁用innodb,设置默认的引擎为MyISAM。解决方法:在[mysqld]里面加入default-storage-engine
= MyISAMinnodb=OFFskip-innodb
分类:
数据库 时间:
2014-05-27 01:01:29
阅读次数:
308
相关函数getRecord :YAHOO.widget.Record getRecord (
row )For the given identifier, returns the associated Record
instance.传入RecordSet position Index或者Recod...
分类:
其他好文 时间:
2014-05-24 06:23:14
阅读次数:
323
默认网站根目录为/usr/local/nginx/html,要将它改成/homw/wwwvi
/usr/local/nginx/conf/nginx.conf将其中的 location / { root html; index index.php
index.html i...
分类:
Web程序 时间:
2014-05-24 04:58:02
阅读次数:
229
Nginx支持伪静态(在 nginx.conf 中 修改如下)参考链接location / {
index index.html index.php; if (-d $request_filename){ rewrite ^/(.*)([^/...
分类:
其他好文 时间:
2014-05-24 03:02:12
阅读次数:
266
一、在新添加的域中中的AreaRegistration中作如下设置:二、在原来的Global.asax中设置:三、不同域之间的跳转@Url.Action("Index",
"Imageselect", new { Area = "" })为空表示跳转到原来的域。
分类:
Web程序 时间:
2014-05-24 02:53:56
阅读次数:
332
/**方法:Array.remove(dx)*功能:根据元素值删除数组元素.*参数:元素值*返回:在原数组上修改数组*作者:pxp*/Array.prototype.indexOf=function(val){for(vari=0;i-1){this.splice(index,1);}};/**方法...
分类:
Web程序 时间:
2014-05-24 00:22:05
阅读次数:
308
InnoDBRecord, Gap, and Next-Key
Locks考虑到翻译准确性,对于某些特殊名称不做翻译,以免误导;InnoDBhas several types of record-level locks
including record locks, gap locks, and n...
分类:
数据库 时间:
2014-05-23 23:19:29
阅读次数:
683
10192 最长公共子序列
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&
Itemid=8&page=show_problem&category=114&problem=1133&mosmsg=
Submission...
分类:
其他好文 时间:
2014-05-23 22:30:07
阅读次数:
528
1. 创建一个新的web工程,导入springMVC的jre包。2. web.xml添加配置
index.jsp webAppRootKey springmvc.root contextC...
分类:
编程语言 时间:
2014-05-23 22:24:41
阅读次数:
452
在服务器级别只提供了query
cache,而在存储引擎级别,MyISAM和InnoDB分别引入了key cache和buffer pool什么是query
cacheMysql没有shared_pool缓存执行计划,但是提供了query cache缓存sql执行结果和文本,如果在生命周期内完全相同...
分类:
数据库 时间:
2014-05-23 11:31:15
阅读次数:
344