要想容错,该怎么办?父actor首先要获知子actor的失败状态,然后确定该怎么办, “怎么办”这回事叫做“supervisorStrategy"。 // Restart the storage child when StorageException is thrown. // After 3 re...
分类:
其他好文 时间:
2014-07-03 00:21:47
阅读次数:
340
字符串题目就先告一段落了,又是在看balabala不知道在说些什么的英语。算法也很简单,用了几个库函数就搞定了。本来还担心题里说的replace-by为空的特殊情况需要特殊处理,后来发现按一般情况处理也能A过去。第一次RE是因为char t[]开小了。对了,strstr()函数我也是第一次用,对这个...
分类:
其他好文 时间:
2014-07-01 19:17:14
阅读次数:
224
Automatic PoetryInput:standard inputOutput:standard outputTime Limit:2 secondsMemory Limit:32 MB“Oh God”, Lara Croft exclaims, “it’sone of these dumb ...
分类:
其他好文 时间:
2014-07-01 18:53:40
阅读次数:
166
物理存储结构主要是指: extent的分配, 以及datablock 存储相关, 置于tablespace, segment 都是逻辑结构.tablespace : 逻辑结构, 没有实际物理存储.segment : 逻辑结构, 比如一个表, 索引等 object, 每次按照extent分配.exte...
分类:
其他好文 时间:
2014-07-01 18:35:53
阅读次数:
297
1 -- 查看表空间容量 2 SELECT UPPER(F.TABLESPACE_NAME) "表空间名", 3 D.TOT_GROOTTE_MB "表空间大小(M)", 4 D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)", 5 TO_CHAR(ROUND(....
分类:
数据库 时间:
2014-07-01 17:31:11
阅读次数:
316
1、错误描述
java.sql.SQLException: ORA-0064:error occurred at recursive SQL level 1.
ORA-06153:unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM.
ORA-02002:error while writing to audit trail.
O...
分类:
数据库 时间:
2014-07-01 08:01:47
阅读次数:
463
返得利购物
http://www.bbuy8.com
购物返利天经地义,返利不高,叫毛返利
(1) SQL State: 42831
[Error Code: -542, SQL State: 42831] DB2 SQL Error: SQLCODE=-542, SQLSTATE=42831, SQLERRMC=BATCH_NO, DRIVER=3.57.82...
分类:
数据库 时间:
2014-06-30 19:48:51
阅读次数:
292
最近在做一套DB2数据库迁移时遭遇 SQL20321N报错。
场景:一套干净的环境,刚装了DB2,预计将一套老的DB2数据库迁移至此。
在源端进行冷备:
db2 backup db sundb to /db2sys compress
将备份介质传输到目标端/db2sys目录下。
在目标端进行恢复:
db2 restore db sundb from . on /...
分类:
数据库 时间:
2014-06-30 18:58:35
阅读次数:
416
catalog数据库:
catalog indirect: db2 catalog database on /db2sys[dir_name]
catalog remote: db2 catalog database as at node
事例:
db2
catalog tcpip node NODESUN remote 192.168.1.1 s...
分类:
数据库 时间:
2014-06-30 18:19:41
阅读次数:
300
环境是AIX 6.1,DB2版本9.7.0.7
首先查看db2主进程是否存在
ps -ef|grep db2sys
若不存在使用db2start打开数据库
备份介质为冷备数据源,
cd 到介质所在目录下:
cd /home/db2inst1/backup
使用redirect参数来更改目录:
1.>db2 restore db xxx from . ...
分类:
数据库 时间:
2014-06-30 16:25:45
阅读次数:
459