v$container 中pdb的size 接近rman的size??
v$container 中pdb的size =allocate tablespace 的大小
rman size = dba_segements 的大小
我将tablespace 收缩2T后,v$container 中pdb的size 减少了2T,但是rman backup size未变(接近dba_segements 的大小),所以rman备份时已经不备份空block.
RMAN 备份的status 记录的时同一个rman session里所有指令的执行状态,所以用户取消后,rman status 会变成failed,即使再发出同样的命令执行成功后status还是failed,所以最好时exit后重新打开rman执行backup command.
RMAN backup tablespace不能执行 backup tablespace xx,需要执行
backup tablespace PDB:tablespace
RMAN delete backup of tablespace xxx, 会将0级备份中有关这个tablespace的备份全部删除,删除后发现从40T变成了20T,但是tablespace 实际大小2T不到,所以 delete backup of tablespace xxx会多删除文件,这个是即使再backup tablespace PDB:tablespace也不能恢复DB了。
alter table move 所有的tables 后需要shrink datafile ,dba_extents 不显示BINXXX table,需要执行 purge dba_recyclebin; purge命令不能再CDB下发出, 需要在PDB执行。