1.删除文件
[oracle@instance-ej1hspdt ~]$ cd /opt/oracle/oradata/ORCLCDB/
[oracle@instance-ej1hspdt ORCLCDB]$ rm users01.dbf
2.启动数据库到mount
RMAN> startup force mount;
3.恢复表空间
select * from v$dbfile;查询数据文件编号
run{
set newname for datafile 12 to '/opt/oracle/oradata/ORCLCDB/user/users01.dbf';
restore database;
switch datafile all;
recover database;
}
alter database open;