oracle9i新特点:spfile的使用
last updated: wednesday, 2004-10-27 0:40 eygle 【程序编程相关:Web crawler作业报告】
--how to backup and restore spfile and controlfile using autobackup option 【推荐阅读:User Account Creatio】 【扩展信息:J2ME 2D小游戏入门之旅(一)游戏的】 本文发表于itpub技术丛书«oracle数据库dba专题技术精粹»,未经许可,严禁转载本文. 原文出处: http://www.eygle.com/faq/oracle9i.new.feature.spfile.04.htm 六. spfile的备份与恢复 在本文开篇我们提到,oracle把spfile也纳入到rman的备份恢复策略当中,如果你配置了控制文件自动备份(autoback),那么oracle会 在数据库发生重大变化(如增减表空间)时自动进行控制文件及spfile文件的备份.下面我们来看一下这个过程:
a. 设置控制文件自动备份: [oracle@jumper oracle]$ rman target / recovery manager: release 9.2.0.3.0 - production copyright (c) 1995, 2002, oracle corporation. all rights reserved. connected to target database: hsjf (dbid=1052178311) rman> configure controlfile autobackup on; using target database controlfile instead of recovery catalog old rman configuration parameters: configure controlfile autobackup off; new rman configuration parameters: configure controlfile autobackup on; new rman configuration parameters are successfully stored rman> exit这个设置可以在数据库中通过如下方式查询得到:
[oracle@jumper bdump]$ sqlplus "/ as sysdba" sql*plus: release 9.2.0.3.0 - production on sat jan 17 01:08:05 2004 copyright (c) 1982, 2002, oracle corporation. all rights reserved. ... 下一页