锁升级 与锁的数量和内存压力有关,达到阀值之后,直接升级到table lock,而不会小升级到page lock减少锁升级的方式有以下几种:禁用sqlserver实例的锁升级禁用特定表的锁升级加大阀值,减少锁升级的可能(sp_configure 'locks', 10000; RECONFIGURE...
分类:
数据库 时间:
2016-01-18 12:10:47
阅读次数:
215
先贴代码: @Before public void init() { System.out.println("Test开始之前执行"); Configuration configuration = new Configuration().configure()...
分类:
其他好文 时间:
2016-01-17 21:27:10
阅读次数:
180
1 --开启导入功能2 exec sp_configure 'show advanced options',13 reconfigure4 exec sp_configure 'Ad Hoc Distributed Queries',15 reconfigure...
分类:
数据库 时间:
2016-01-17 18:46:50
阅读次数:
215
环境:Centos6工具pure-ftpd下载地址ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/版本pure-ftpd-1.0.42安装ftp./configure\--prefix=/usr/local/pureftpd\--without-inetd\--with-altlog\--with-puredb\--with-throttling\--with-peruserlimits\--with-tls[root@localhostp..
分类:
其他好文 时间:
2016-01-17 16:17:31
阅读次数:
191
LNMP就是Linux nginx mysql php一、mysql下载安装mysql转至 LAMP(点击“LAMP”即可跳转)也可以从快照跳转至mysql安装ok二、php下载同上,1.安装cd /usr/local/src/tar zxvf php-5.6.9.tar.gz./configure...
分类:
其他好文 时间:
2016-01-17 12:17:41
阅读次数:
162
1.Ole Automation Procedures 服务器配置选项 当启用 OLE Automation Procedures 时,对 sp_OACreate 的调用将会启动 OLE 共享执行环境。 可以使用 sp_configure 系统存储过程来查看和更改 Ole Automation P....
分类:
数据库 时间:
2016-01-16 16:26:35
阅读次数:
187
指定安装路径不指定prefix,则可执行文件默认放在/usr /local/bin,库文件默认放在/usr/local/lib,配置文件默认放在/usr/local/etc。其它的资源文件放在/usr /local/share。你要卸载这个程序,要么在原来的make目录下用一次make uninst...
分类:
系统相关 时间:
2016-01-15 20:03:20
阅读次数:
170
下载openssl-0.9.8zh.tar.gz、zlib-1.2.8.tar.gz、pcre-8.31.tar.gz、nginx-1.9.9.tar.gz。解压缩:tar-xvzfopenssl-0.9.8zh.tar.gztar-xvzfzlib-1.2.8.tar.gztar-xvzfpcre-8.31.tar.gztar-xvzfnginx-1.9.9.tar.gz安装#cdpcre-8.31#./configure#make#makeinstall#cd..#cdopenss..
分类:
其他好文 时间:
2016-01-15 18:01:40
阅读次数:
209
安装iftop,我是源码安装,在./configure之后,遇到configure:error:can‘tfindpcap.hYou‘renotgoingtogetveryfarwithoutlibpcap.没法执行make&&makeinstall这个命令,于是去网上查为什么会这样,源码安装iftop,需要提前安装的依赖包有:#yuminstallflexbyacclibpcapnc..
分类:
其他好文 时间:
2016-01-15 18:00:18
阅读次数:
10540
1.查看默认Python版本python-V2.下载源码包,wgethttps://www.python.org/ftp/python/2.7.11/Python-2.7.11.tgz3.(如果需要)安装gcc,用于编译Python源码yuminstallgcc4.编译安装tarzvxfPython-2.7.11.tgzcdPython-2.7.11./configure(默认安装在/usr/local/lib/python2.7)mak..
分类:
编程语言 时间:
2016-01-15 13:06:52
阅读次数:
184