startup pfile=’../initSID.ora’
select * from v$parameter where name like ’control%’ ;
show parameter control;
select * from v$controlfile_record_section;
select * from v$tempfile;
/*备份控制文件*/
alter database backup controlfile to ’../filepath/control.bak’;
/*备份控制文件,并将二进制控制文件变为了asc 的文本文件*/
alter database backup controlfile to trace;
############### redo log ##############
archive log list;
alter system archive log start;--启动自动存档
alter system switch logfile;--强行进行一次日志switch
alter system checkpoint;--强制进行一次checkpoint
alter tablspace users begin backup;
alter tablespace offline;
/*checkpoint 同步频率参数FAST_START_MTTR_TARGET,同步频率越高,系统恢复所需时间越短*/
show parameter fast;
文章来源于领测软件测试网 https://www.ltesting.net/