Although in other distros locate and updatedb are in the findutils package, they are no longer present in Arch's package. To use it, install the mloca...
分类:
其他好文 时间:
2015-05-12 08:03:23
阅读次数:
133
install oracle11g on centos6.51. swap分区这个的话有个规则,如下:Available RAM Swap Space Required
Between 1 GB and 2 GB 1.5 times the size of the RAM
Between 2 GB and 16 GB Equal to the size of the RAM
More than...
分类:
数据库 时间:
2015-05-10 14:22:16
阅读次数:
127
一、安装刚开始打算是直接用 yum 安装 redis 的,但报错:No package redis available。之后尝试编译安装,也是各种出错,只有重新考虑回 yum 的安装方式。网上的文章说下载epel就能找到redis的源了。进入相关的页面http://fedoraproject.org...
分类:
其他好文 时间:
2015-05-09 18:53:04
阅读次数:
93
#includeclass A{ const int a; int b;};void main(){ A obja;}编译出现如下错误:error C2512: 'A' : no appropriate default constructor available;如果将const去...
分类:
其他好文 时间:
2015-05-08 23:28:05
阅读次数:
177
最近学习java多线程有点迷糊,经过一天的整理,知道了什么是生产者,什么是消费者,以及消费者与生产者的关系:在Person类中是一个实体没有具体的对象,靠Input传入,Output读出,只有当Input有传入后,才能被Output读出,因此对呀Input和Output,要上一把同样的锁,synchroniz..
分类:
编程语言 时间:
2015-05-07 01:04:09
阅读次数:
192
利用脚本备份数据库指定目录只看到数据文件,看不到日志文件同时开两个窗口,一个运行./backup.sh另一个看tail-200frman.log在日志窗口看到如下信息查询rman-06214错误有三个步骤:obsolete的backupset的状态也会是AVAILABLE的。下次操作的时候,最好是按照如下步骤:1.crossch..
分类:
其他好文 时间:
2015-05-06 18:10:34
阅读次数:
143
1、db.serverStatus()看看分片性能信息db.serverStatus().connections;分片查看客户端连接数,mongod和mongos的连接属于长连接"connections":{"current":737,--当前活动连接量。连接到server的当前活跃连接数目"available":82--剩余空闲连接量。剩余的可用连接数目},db.serverS..
分类:
数据库 时间:
2015-05-06 15:19:24
阅读次数:
175
对于错误 GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PU...
分类:
系统相关 时间:
2015-05-06 10:43:05
阅读次数:
261
try { randomAccessFile = new RandomAccessFile(file, "rw"); lock = randomAccessFile.getChannel().tryLock();} catch (IOException e) { e.printStackTrace(...
分类:
编程语言 时间:
2015-05-06 10:38:19
阅读次数:
386
题目描述 Afandi is herding N sheep across the expanses of grassland when he finds himself blocked by a river. A single raft is available for transportatio...
分类:
其他好文 时间:
2015-05-05 21:16:02
阅读次数:
133