热备
复习:RMAN>run{backup tablespace}
RMAN>copy datafile 1 to '/....';(copy的是原文件,占用空间比较大,用rman备份只是备份的热块儿)RMAN的热备
>alter database backup datafile to '/u01/app/gg.ctl'
热备:
>alter tablespace users read write.
>alter tablespace users begin backup.
>ho cp /u01/oracle/oradata/orcl/users01.dbf /u02/user01.bak
>alter tablespace users end backup;
RMAN>backup as copy database;(基于数据库级别的copy,备份出来的很大,原文件多大,这个备份就多大)