用户管理的备份


//执行表空间的热备
alter tablespace tablespacename begin backup;
$ copy c:\oracle\oradata\testdb\system01.DBF c:\backup\
alter tablespace tablespacename end backup;

//查询是否有表空间处于备份状态
select v$tablespace.name,v$backup.status,v$datafile.name
from v$tablespace
join v$datafile
using (ts#)
join v$backup
using (file#);

//使用DBVERIFY分析数据块(命令行下)
dbv file='location of file\filename' blocksize=使用的块大小

Published At
Categories with 数据库类
Tagged with
comments powered by Disqus