有一个测试DPF数据库,这个数据库很小,只是测试使用 $ db2_all "<<+0< db2 restore db hdb from /db2/hwdb/arc taken at 20150820205505" 对CATALOG恢复很快 但是下面这个几乎就HANG在哪里 $ db2_all "<<-0< db2 restore db hdb from /db2/hwdb/arc taken at 20150820205505"
egrep: /db2/home/db2inst1/.profile: No such file or directory SQL2539W Warning! Restoring to an existing database that is the same as the backup image database. The database files will be deleted. Do you want to continue ? (y/n) y
用这个命令看,发现Complete work才4096bytes,这个明显有问题
db2 list utilities show detail ID = 1 Type = RESTORE Database Name = HDB Member Number = 1 Description = db Start Time = 08/21/2015 00:05:16.707257 State = Executing Invocation Type = User Progress Monitoring: Completed Work = 4096 bytes Start Time = 08/21/2015 00:05:16.707285