设为首页 加入收藏

TOP

oracle 10g中db_recovery_file_dest和log_archive_dest参数的关系(二)
2014-11-24 02:28:52 来源: 作者: 【 】 浏览:12
Tags:oracle 10g db_recovery_file_dest log_archive_dest 参数 关系
ssion altered.

SQL> col name for a100
SQL> set lines 132
SQL> alter system switch logfile;

System altered.

SQL> select name,completion_time from v$archived_log;

NAME COMPLETION_TIME
---------------------------------------------------------------------------------------------------- -----------------
/ora10g/flash_recovery_area/EBANK/archivelog/2008_12_18/o1_mf_1_1_4no7w6tg_.arc 20081218 14:07:50
/ora10g/arch/1_2_673797803.dbf 20081218 14:21:01
/ora10g/flash_recovery_area/EBANK/archivelog/2008_12_18/o1_mf_1_2_4no8nwq9_.arc 20081218 14:21:01
/ora10g/arch/1_3_673797803.dbf 20081218 14:22:15
/ora10g/arch/1_4_673797803.dbf 20081218 14:23:03

SQL> alter system switch logfile;

System altered.

SQL> select name,completion_time from v$archived_log;

NAME COMPLETION_TIME
---------------------------------------------------------------------------------------------------- -----------------
/ora10g/flash_recovery_area/EBANK/archivelog/2008_12_18/o1_mf_1_1_4no7w6tg_.arc 20081218 14:07:50
/ora10g/arch/1_2_673797803.dbf 20081218 14:21:01
/ora10g/flash_recovery_area/EBANK/archivelog/2008_12_18/o1_mf_1_2_4no8nwq9_.arc 20081218 14:21:01
/ora10g/arch/1_3_673797803.dbf 20081218 14:22:15
/ora10g/arch/1_4_673797803.dbf 20081218 14:23:03
/ora10g/arch/1_5_673797803.dbf 20081218 14:23:36

6 rows selected.

3.log_archive_desc和db_recovery_file_desc参数被同时设置

SQL> alter system switch logfile;

System altered.

SQL> /

System altered.

SQL> /

System altered.

SQL> alter system switch logfile;

System altered.

SQL> select name,completion_time from v$archived_log;

NAME COMPLETIO
---------------------------------------------------------------------------------------------------- ---------
/ora10g/flash_recovery_area/EBANK/archivelog/2008_12_18/o1_mf_1_1_4no7w6tg_.arc 18-DEC-08
/ora10g/arch/1_2_673797803.dbf 18-DEC-08
/ora10g/flash_recovery_area/EBANK/archivelog/2008_12_18/o1_mf_1_2_4no8nwq9_.arc 18-DEC-08
/ora10g/arch/1_3_673797803.dbf 18-DEC-08
/ora10g/arch/1_4_673797803.dbf 18-DEC-08
/ora10g/arc

首页 上一页 1 2 3 4 下一页 尾页 2/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Oracle有参数带返回值的存储过程.. 下一篇Oracle utl_file_dir参数详解

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: