1.假设删除ORAL2数据文件,模拟数据文件丢失
[img]http://dl.iteye.com/upload/attachment/199808/a37c7055-c2f7-3d1c-a3aa-88110336fcac.jpg[/img]
2.
[img]http://dl.iteye.com/upload/attachment/199824/facfed63-c80c-3c96-b4be-fb440f2973b9.jpg[/img]
3.
4.
5.
[img]http://dl.iteye.com/upload/attachment/199827/0645736b-627e-3e60-b901-7da10f9e93b0.jpg[/img]
6.
7.
[img]http://dl.iteye.com/upload/attachment/199808/a37c7055-c2f7-3d1c-a3aa-88110336fcac.jpg[/img]
2.
startup mount;report schema;[img]http://dl.iteye.com/upload/attachment/199824/facfed63-c80c-3c96-b4be-fb440f2973b9.jpg[/img]
3.
sql "alter database datafile 6 offline";4.
restore datafile 65.
recover datafile 6[img]http://dl.iteye.com/upload/attachment/199827/0645736b-627e-3e60-b901-7da10f9e93b0.jpg[/img]
6.
sql "alter database datafile 3 online";7.
alter database open resetlogs;
本文详细介绍了在ORACLE数据库中模拟数据文件丢失后的恢复步骤。主要包括:启动数据库到挂起状态并报告模式;将损坏的数据文件离线;恢复并还原数据文件;将数据文件重新联机;最后打开数据库并重置日志。
5816

被折叠的 条评论
为什么被折叠?



