这是3月份某客户的情况,原因是server硬件故障后进行更换之后,业务翻译偶尔出现提交缓慢的情况。我们先来看下awr的情况。我们能够看到,该系统的load profile信息事实上并不高,每秒才21个transaction。先来看看top5events:从top 5event,我们能够发现,log ...
分类:
其他好文 时间:
2014-08-05 13:48:49
阅读次数:
387
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-08-05 00:37:38
阅读次数:
233
Tomcat 导入eclipse
本例采用
apache-ant-1.9.2(版本不一样的注意配置路径)
tomcat 6.0.26
下载ant
http://mirror.bit.edu.cn/apache//ant/binaries/apache-ant-1.9.4-bin.zip
由于只找到1.9.4的下载包以下的配置需要注意路径
解压到E盘根目录,注意解压之后的结构应该是如下...
分类:
系统相关 时间:
2014-08-04 18:04:27
阅读次数:
367
windows上安装php+IIS设置 1、安装PHP5 下载: http://cn2.php.net/get/php-5.2.0-Win32.zip/from/cn.php.net/mirror 安装: 对php-5.2.0-Win32.zip解压缩到d:\php(可以是其他目录,根据您的具体情况...
软件环境:Windows Server 2008 R2 sp1 SQL Server 2008 R2 sp2架构:ServerA(主体)+ServerB(镜像)+ServerSub(订阅)+ServerDist(分发)特别注意:ServerDist分发服务器为单机,故开启了Sync_With_Bac...
分类:
数据库 时间:
2014-08-04 14:04:47
阅读次数:
381
1.安装 nfs 服务yum install nfs-utils rpcbindchkconfig nfs on2.exprotfs 文件/usr/sbin/exportfs -rvcat /etc/exports/home/ 10.0.2.0/24(rw,sync,all_squash,anonu...
分类:
其他好文 时间:
2014-08-03 22:57:26
阅读次数:
172
root@node1glance]#su-s/bin/sh-c"glance-managedb_sync"glanceTraceback(mostrecentcalllast):File"/usr/bin/glance-manage",line10,in<module>sys.exit(main())File"/usr/lib/python2.6/site-packages/glance/cmd/manage.py",line253,inmainlog.setup(‘glance‘)File"/u..
novadbcreatenotice:
xxxxxxxsu-s/bin/sh-c"nova-managedb_sync"novaxxxxxx
correctone:
su-s/bin/sh-c"nova-managedbsync"nova[root@node1/]#su-s/bin/sh-c"nova-managedbsync"novaTraceback(mostrecentcalllast):File"/usr/bin/nova-manage",line10,in<module>sys.exi..
分类:
其他好文 时间:
2014-08-03 07:57:25
阅读次数:
300
LightOJ 1205 - Palindromic Numbers (数位dp)
ACM
题目地址:SPOJ MYQ10 Mirror Number
题意:
求[a,b]中回文的个数。
分析:
是SPOJ MYQ01的简单版...其实有非递归方法的。
代码:
/*
* Author: illuz
* Blog: http:...
分类:
其他好文 时间:
2014-08-02 20:56:24
阅读次数:
218
SPOJ MYQ10 10649. Mirror Number (数位dp)
ACM
题目地址:SPOJ MYQ10 Mirror Number
题意:
求[a,b]中镜像回文的个数。
0
分析:
看到题目和数据范围就知道是数位dp了。
很明显镜像回文只有0,1,8,跟回文的一题一样,在dfs的时候得开个辅助数组记录前面已经选择的数字。
注意还得去掉前...
分类:
其他好文 时间:
2014-08-02 18:27:13
阅读次数:
242