知识大全 记
Posted 文件
篇首语:满堂花醉三千客,一剑霜寒十四洲。本文由小常识网(cha138.com)小编为大家整理,主要介绍了知识大全 记相关的知识,希望对你有一定的参考价值。
刚开始出现了些问题 搞得我既郁闷又着急 都不知道我在记什么了 大家将就著看吧! 一个 G数据库的真实迁移过程(也可以说是一个数据库系统崩溃下的恢复过程) 要求停机的时间最短 前提:拥有完整的数据库备份和归档日志 迁移的主机所有的目录结构和原主机一样 Oracle版本: 操作系统: linux 备份程序:rman 没用恢复目录 把所有rman的备份(包括控制文件的自动备份)拷贝到新的服务器上 路径要和原来的一模一样 迁移过程如下: 把参数文件 tns等文件拷贝到新服务器上 原数据库停机 开始把数据库迁移到新的服务器上 $set oracle_sid=service SQL> conn / as sysdba Connected SQL>startup nomount; 恢复控制文件 SQL> declare devtype varchar ( ); done boolean; begin devtype :=dbms_backup_restore deviceallocate(NULL); dbms_backup_restore restoresetdatafile; dbms_backup_restore restorecontrolfileto( /opt/data/SERVICE/control ctl ); dbms_backup_restore restorebackuppiece( /opt/backup/control_c DONE => done); end; / PL/SQL procedure successfully pleted 这个过程我到现在还解 应该是只要控制文件自动备份 通过restore controlfile from autobackup就能恢复过来 但我在现场怎么实现不了 没办法 只要用dbms_backup_restore包了 把控制文件复制成三个文件 $ cp control ctl control ctl $ cp control ctl control ctl SQL>alter database mount 数据库启动到mount状态准备进行数据文件的恢复 启动rman Recovery Manager: Release Production Copyright (c) Oracle All rights reserved RMAN> connect target / connected to target database: SERVICE (DBID= ) RMAN> restore database ; Starting restore at AUG using target database controlfile instead of recovery catalog allocated channel: ORA_DISK_ channel ORA_DISK_ : sid= devtype=DISK channel ORA_DISK_ : starting datafile backupset restore channel ORA_DISK_ : specifying datafile(s) to restore from backup set restoring datafile to /opt/data/SERVICE/system dbf restoring datafile to /opt/data/SERVICE/undotbs dbf restoring datafile to /opt/data/SERVICE/sysaux dbf restoring datafile to /opt/data/SERVICE/users dbf restoring datafile to /opt/data/SERVICE/business dbf restoring datafile to /opt/data/SERVICE/advertise dbf restoring datafile to /opt/data/SERVICE/backup dbf channel ORA_DISK_ : restored backup piece piece handle=/opt/backup/service_mpgr f_ _ _ tag=TAG T channel ORA_DISK_ : restore plete Finished restore at AUG 查看归档日志 RMAN> list backup archivelog all; 进行数据库的恢复 RMAN> recover database; Starting recover at AUG using channel ORA_DISK_ starting media recovery channel ORA_DISK_ : starting archive log restore to default destination channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restored backup piece piece handle=/opt/backup/service_mqgr jj_ _ _ tag=TAG T channel ORA_DISK_ : restore plete archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= channel ORA_DISK_ : starting archive log restore to default destination channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restored backup piece piece handle=/opt/backup/service_msgr om_ _ _ tag=TAG T channel ORA_DISK_ : restore plete archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= channel ORA_DISK_ : starting archive log restore to default destination channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restored backup piece piece handle=/opt/backup/service_mvgraf g_ _ _ tag=TAG T channel ORA_DISK_ : restore plete archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= archive log filename=/opt/archive/SERVICE _ _ dbf thread= sequence= channel ORA_DISK_ : starting archive log restore to default destination channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log thread= sequence= channel ORA_DISK_ : restoring archive log archive log cha138/Article/program/Java/JSP/201311/19738相关参考
电炉诞生记 按常识,人们会认为家用电炉理所当然应该是由电气学家发明的。错了。电炉的发明人竟是一位美国的新闻记者,他的名字叫休斯,他
《昆虫记》读书笔记读书笔记《昆虫记》法布尔作者介绍:法布尔,通常称作让-亨利·法布尔,1823年12月22日降生在法国南方阿韦龙省圣雷翁村一户农民家中。法布尔一生酷爱昆虫,不知疲倦地从事独具特色的昆虫
知识大全 小规模纳税人 运输途中的运杂费和保险费记不记增值税
小规模纳税人运输途中的运杂费和保险费记不记增值税保险费是属于地税的发票没有增值税,运杂费能开增值税专票的可以。小规模纳税人购进原材料10吨,每吨1000元,增值税的进项税1700元,运费100元,途中
定期贷记业务的种类分为:代付工资业务,代付保险金、养老金业务,中国人民银行规定的其他定期贷记支付业务。
会计记账是怎么记的?流程是什么?会计工作流程(手工帐)1、给原始凭证分类;↓2、填制会计凭证;↓3、登记会计账簿↓4、记账凭证汇总↓5、记总账↓6、对账结账↓7、编制会计报表下面我按顺序讲啊:1、给原
已贷记收款人账户的定期贷记支付业务不得办理退回,应当通知付款行由付款人与收款人自行协商解决。
小额定期贷记业务主要包括5个阶段:签订协议、付款行进行小额定期签约、付款人向付款行提交业务清单、付款行发起定期贷记业务、收款行接收贷记报文并将款项转入客户账。
高中哪些科目要笔记本记笔记?用活页本好还是普通本子好?一本活页记个人觉得最好所有科目都备一本记知识要点和做归纳活页本相对来讲会好一些如果有新增的知识点可以随时加活页普通本子如果不留空的话很难临时加新内
求《昆虫记》读书笔记500字以上10篇要明目张胆的得刷分昆虫记》昆虫记也叫做《昆虫物语》和《昆虫学札记》,是法国杰出昆虫学家法布尔的传世佳作,亦是一部不朽的著作。它不仅是一部文学巨著,也是一部科学百科