1 实验准备a)物理和逻辑上检查
- SQL> col file_name for a70 wrapped
- SQL> select file_name,status from dba_data_files where file_id=4;
-
- FILE_NAME STATUS
- ---------------------------------------------------------------------- ---------
- /u01/app/Oracle/oradata/ORCL/datafile/o1_mf_users_7wvsw7hg_.dbf AVAILABLE
-
- SQL> select tablespace_name,status from dba_tablespaces where tablespace_name="USERS";
-
- TABLESPACE_NAME STATUS
- ------------------------------ ---------
- USERS ONLINE
b)large_pool
- SQL> select * from v$sgastat where pool like "%large%";
-
- POOL NAME BYTES
- ------------ -------------------------- ----------
- large pool PX msg pool 902160
- large pool free memory 3292144
c)NLS_DATE_FORMAT
- >vim .bash_profile
- >export NLS_DATE_FORMAT="YYYY-MM-DD:HH24:MI:SS"
- >. .bash_profile
d)control_file_record_keep_time
- SQL> show parameter control_
-
- NAME TYPE VALUE
- ------------------------------------ ----------- ------------------------------
- control_file_record_keep_time integer 7
e)清空环境
- RMAN> list backup;
-
-
- RMAN> list copy;
-
- specification does not match any archive log in the recovery catalog
f)配置时间窗口为1 days
- RMAN> CONFIGURE RETENTION POLICY TO recovery window of 1 days;
-
- new RMAN configuration parameters:
- CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
- new RMAN configuration parameters are successfully stored
-
- RMAN> show all;
-
- RMAN configuration parameters are:
- CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
- ......
SQL Server System Session ID是不是1-50?解读 Oracle 12c 的 12 个新特性相关资讯 RMAN rman备份
- RMAN故障一例(归档的备份,从不 (今 20:42)
- RMAN备份报 RMAN-06059 错误 (05月13日)
- RMAN备份策略修正案例实录 (02月29日)
| - RMAN数据库迁移 (05月22日)
- RMAN的FORMATA格式说明 (03月10日)
- 使用RMAN复制恢复开发库环境 (02月17日)
|
本文评论 查看全部评论 (0)