SYS@orcl#shutdown abort; Oracle 例程已经关闭。 SYS@orcl# oracle@oracle:~/product/10.2/db_1/dbsgt; rman target / 恢复管理
sys@orcl#shutdown abort;
oracle 例程已经关闭。
sys@orcl#
oracle@oracle:~/product/10.2/db_1/dbs> rman target /
恢复管理器: release 11.1.0.6.0 - production on 星期三 6月 5 23:13:10 2013
copyright (c) 1982, 2007, oracle. all rights reserved.
已连接到目标数据库 (未启动)
rman> startup nomount;
oracle 实例已启动
系统全局区域总计 805875712 字节
fixed size 2148720 字节
variable size 520095376 字节
database buffers 276824064 字节
redo buffers 6807552 字节
rman> restore controlfile from '/opt/oracle/product/10.2/db_1/dbs/snapcf_orcl.f';
启动 restore 于 05-6月 -13
使用目标数据库控制文件替代恢复目录
分配的通道: ora_disk_1
通道 ora_disk_1: sid=152 设备类型=disk
通道 ora_disk_1: 已复制控制文件副本
输出文件名=/opt/oracle/oradata/orcl/controlfile/o1_mf_7q9c8orh_.ctl
输出文件名=/opt/oracle/flash_recovery_area/orcl/controlfile/o1_mf_7q9c8pcf_.ctl
完成 restore 于 05-6月 -13
rman> exit
sys@orcl#select file#,creation_change#,checkpoint_change# from v$datafile_header;
file# creation_change# checkpoint_change#
---------- ---------------- ------------------
1 7 4918372
2 1490 4918372
3 841603 4918372
4 14607 4918372
5 955886 4918372
6 958063 4918372
7 959259 4918372
8 3975193 4918372
9 3977982 4918372
10 3978313 4918372
11 4400356 4918372
file# creation_change# checkpoint_change#
---------- ---------------- ------------------
12 4400418 4918372
已选择12行。
sys@orcl#select file#,creation_change#,checkpoint_change#,last_change# from v$datafile;
file# creation_change# checkpoint_change# last_change#
---------- ---------------- ------------------ ------------
1 7 4393541
2 1490 4393541
3 841603 4393541
4 14607 4393541
5 955886 4393541
6 958063 4393541
7 959259 4393541
8 3975193 4393541
9 3977982 4393541
10 3978313 4393541
11 4400356 4400358
file# creation_change# checkpoint_change# last_change#
---------- ---------------- ------------------ ------------
12 4400418 4400420
已选择12行。
sys@orcl#
ys@orcl#alter database open;
alter database open
*
第 1 行出现错误:
ora-01589: 要打开数据库则必须使用 resetlogs 或 noresetlogs 选项
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号