postgresql的内存分配主要由shared_buffers、temp_buffers、work_mem、maintenance_work_mem参数控制。shared_buffers又可以叫做共享缓冲区,postgresql对数据操作时都要先将数据从磁盘读取到内存中,然后进行更新,最后再将数据...
分类:
数据库 时间:
2014-06-28 19:34:57
阅读次数:
347
js词法环境包括环境变量绑定及外部引用'函数创建的时候有个内部属性[[scope]],它指向当前函数的词法环境对象。而词法环境的外部引用一个词法环境'直到全局词法环境'它外部引用为null'这样就构成作用域链。当进入可执行代码时'会创建执行环境'执行环境包括词法环境变量环境及this关键字绑定'如果...
分类:
Web程序 时间:
2014-06-28 15:18:07
阅读次数:
223
Type the following command to install ntp:# yum install -y ntpTurn on service:#chkconfig ntpd onSynchronize the system clock with 0.pool.ntp.org serve...
分类:
其他好文 时间:
2014-06-28 14:45:54
阅读次数:
185
BACKGROUNDThis relates to the operation of software under a virtualization technology (VT) environment.In a VT environment, such as the Intel VT or AM...
分类:
移动开发 时间:
2014-06-28 13:57:42
阅读次数:
248
编译erlang otp 17.0 一直提示:/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used whe...
分类:
其他好文 时间:
2014-06-28 13:16:07
阅读次数:
497
就是用NTP了,通过外部的服务同步时间. ntpdate us.pool.ntp.org | logger -t NTP 如果没有ntpdate ,可以使用 yum install ntpdate 进行安装。 当然最好放在crontab里面,各一段时间同步一次就OK. crontab -e * * ...
分类:
其他好文 时间:
2014-06-23 08:28:55
阅读次数:
444
在实际产品运行中,对连接管理有了更新的认识,这里分享一下。shared_ptr管理连接对象的生命周期shared_ptr的引用计数器决定了连接对象的生命周期。这里我说的连接对象就是在我的前文:http://blog.csdn.net/csfreebird/article/details/852262...
分类:
其他好文 时间:
2014-06-23 08:26:05
阅读次数:
348
1、 下载新的jquery-1.11.1文件。2、 下载新的bootstrap文件。3、 选择流式布局的模板填充入index.html文件。4、 将top、foot转为nginclude文件nginclude必须使用$scope对象,因此需要设置一个全局的mainctrl来将字符串或全局变量注入$c...
分类:
Web程序 时间:
2014-06-20 23:12:05
阅读次数:
333
【Unity3D自带Demo AngryBots路径】1、Windows: C:\Users\Public\Documents\Unity Porjects2、MacOSX: /Users/Shared/Unity 工程目录名均为:4-0_AngryBots。
分类:
其他好文 时间:
2014-06-20 21:30:36
阅读次数:
508
官网设置$scope.totalServerItems = 0;注释该行能显示当前页。================================官网设置$scope.$watch('pagingOptions', function (newVal, oldVal) { if (newVal ....
分类:
其他好文 时间:
2014-06-20 20:37:18
阅读次数:
171