![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle-备份恢复篇
文章平均质量分 76
ONLYONE_HTLIU
这个作者很懒,什么都没留下…
展开
-
批量分析日志
<br />有时需要大量分析日志,甚至上百个,如果一个个手动dbms_logmnr.add_logfile 无疑是一个很大工作量<br /> 于是写了存储过程进行批量分析<br />前提条件:sys用户建立<br /> 日志序列连续<br />----------------------------------------------------<br />-- Export file for user SYS --<br />-- C原创 2010-06-30 13:23:00 · 754 阅读 · 0 评论 -
在没有备份情况下误删除数据文件的恢复
一、表空间tssapub 数据文件tssapub.dbf 表test 归档日志全在1、在open下删除数据文件2、关闭数据库(abort)后重新打开Database mounted.ORA-01157: cannot identify/lock data file 6 - see DBWR trace fileORA-01110: data file 6: /u01/app/or原创 2010-05-24 13:06:00 · 1268 阅读 · 0 评论 -
RMAN参数配置
使用RMAN>show all;可以显示出RMAN 配置参数为:CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # defaultCONFIGURE BACKUP OPTIMIZATION OFF; # defaultCONFIGURE DEFAULT DEVICE TYPE TO DISK; # defaultCONFIGURE CONTROLFILE转载 2010-05-25 11:15:00 · 740 阅读 · 0 评论 -
rman测试系列一
create table test( id number(4), dt date default sysdate); create or replace procedure MYPROC IS begin insert into test(id,dt) value原创 2010-05-28 16:42:00 · 1243 阅读 · 0 评论 -
rman现场备份策略
<br /> <br /><br />/u01/app/oracle/product/10.1/bin/rman target sys/sys123@sxtsioms cmdfile=/opt/rmanbak/bakl0 log=/opt/rmanbak/bakl0.log append<br />/u01/app/oracle/product/10.1/bin/rman target sys/sys123@sxtsioms cmdfile=/opt/rmanbak/bakl1 log=/o原创 2010-06-22 17:55:00 · 833 阅读 · 0 评论 -
rman迁移及异地恢复
<br />/u01/app/oracle/product/10.1/bin/rman target sys/sys123<br />一、在数据库没有改变的情况下<br />1、备份全库及控制文件<br />run {<br /> configure controlfile autobackup on;<br /> configure controlfile autobackup format for device type disk to '/opt/rmanbak/%F';<br /> alloc原创 2010-11-12 11:54:00 · 4422 阅读 · 0 评论