标签云
asm恢复 bbed bootstrap$ dul kcbzib_kcrsds_1 kccpb_sanity_check_2 kcratr_nab_less_than_odr MySQL恢复 obet ORA-00312 ORA-00704 ORA-00742 ORA-01110 ORA-01200 ORA-01555 ORA-01578 ORA-01595 ORA-600 2662 ORA-600 2663 ORA-600 3020 ORA-600 4000 ORA-600 4137 ORA-600 4193 ORA-600 4194 ORA-600 16703 ORA-600 kcbzib_kcrsds_1 ORA-600 KCLCHKBLK_4 ORA-600 kcratr_nab_less_than_odr ORA-15042 ORA-15196 ORACLE 12C oracle dul ORACLE PATCH Oracle Recovery Tools oracle加密恢复 oracle勒索 oracle勒索恢复 oracle异常恢复 ORACLE恢复 Oracle 恢复 ORACLE数据库恢复 oracle碎片 OSD-04016 YOUR FILES ARE ENCRYPTED 比特币加密文章分类
- MongoDB (1)
- MongoDB恢复 (1)
- Others (2)
- 中间件 (2)
- WebLogic (2)
- 操作系统 (112)
- 数据库 (1,881)
- DB2 (22)
- MySQL (82)
- Oracle (1,706)
- Data Guard (53)
- EXADATA (8)
- GoldenGate (24)
- ORA-xxxxx (168)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (15)
- ORACLE 21C (3)
- Oracle 23ai (8)
- Oracle ASM (72)
- Oracle Bug (8)
- Oracle RAC (56)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (29)
- Oracle备份恢复 (660)
- Oracle安装升级 (108)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (91)
- PostgreSQL (37)
- pdu工具 (7)
- PostgreSQL恢复 (13)
- SQL Server (34)
- SQL Server恢复 (14)
- TimesTen (7)
- 达梦数据库 (5)
- 达梦恢复 (3)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (51)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (34)
- MongoDB (1)
-
最近发表
- 记录一次云存储资源到期之后引起的数据库恢复
- Firebird 损坏数据库数据抢救工具—firebirdext
- Oracle 19c 202610补丁(RUs+OJVM)-19.33
- 由于con$.con#值达到极限,触发数据库增加约束报ORA-600 12807错误
- MongoDB 离线提取工具—mongoext
- .bres勒索病毒加密数据库dmp文件可恢复
- ORA-600 krsm_mrp_rebuild_lf_list.lno_mismatch
- 记录一次0丢失的ORA-00354: 损坏重做日志块标头故障恢复
- 不当数据库恢复操作导致一个月数据丢失
- obet快速修复oracle 位图损坏块
- 不太常见的10.2.0.1的oracle redo损坏恢复
- obet forcecopy功能抢救硬件故障中的数据文件
- kcratr_nab_less_than_odr和system坏块故障处理
- 通过obet 恢复system坏块,打开数据库
- obet dbv功能完整说明
- 分享一例运行在aix上的sap系统数据库恢复过程
- OBET-Oracle Block Editor Tool使用说明
- 几乎动用了所有手段的Oracle故障恢复
- Oracle Block Edit Tool (obet) 功能增强–2026.07
- Oracle 19c 202607补丁(RUs+OJVM)-19.32
分类目录归档:Oracle备份恢复
rman通过nfs备份
挂载nfs
[root@xifenfei tmp]# mount -t nfs 192.168.1.90:/tmp/nfs /nfs
[root@xifenfei tmp]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 18G 12G 5.2G 70% /
tmpfs 737M 0 737M 0% /dev/shm
/dev/sdb1 20G 7.8G 11G 42% /u01/oracle/oradata
192.168.1.90:/tmp/nfs
18G 13G 3.9G 77% /nfs
rman备份
[oracle@xifenfei nfs]$ rman target / Recovery Manager: Release 10.2.0.1.0 - Production on Wed May 30 16:31:40 2012 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database: XFF (DBID=3426707456) RMAN> backup datafile 1 format '/nfs/rman/system01_%U'; Starting backup at 3-JUN-12 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=146 devtype=DISK channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/30/2012 16:32:17 ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode continuing other job steps, job failed will not be re-run channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset including current control file in backupset including current SPFILE in backupset channel ORA_DISK_1: starting piece 1 at 3-JUN-12 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/30/2012 16:32:20 ORA-19504: failed to create file "/nfs/rman/system01_02nc9rgh_1_1" ORA-27054: NFS file system where the file is created or resides is not mounted with correct options Additional information: 3
重新挂载nfs
[root@xifenfei ~]# umount /nfs [root@xifenfei tmp]# mount -t nfs -o rw,bg,hard,rsize=32768,wsize=32768, >vers=3,nointr,timeo=600,tcp 192.168.1.90:/tmp/nfs /nfs
rman重新备份
[oracle@xifenfei ~]$ rman target / Recovery Manager: Release 10.2.0.1.0 - Production on Wed May 30 16:38:14 2012 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database: XFF (DBID=3426707456) RMAN> backup datafile 1 format '/nfs/rman/system01_%U'; Starting backup at 3-JUN-12 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=143 devtype=DISK channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset input datafile fno=00001 name=/u01/oracle/oradata/XFF/system01.dbf channel ORA_DISK_1: starting piece 1 at 3-JUN-12 channel ORA_DISK_1: finished piece 1 at 3-JUN-12 piece handle=/nfs/rman/system01_07nc9rrv_1_1 tag=TAG20120530T163823 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:02:15 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset including current control file in backupset including current SPFILE in backupset channel ORA_DISK_1: starting piece 1 at 3-JUN-12 channel ORA_DISK_1: finished piece 1 at 3-JUN-12 piece handle=/nfs/rman/system01_08nc9s07_1_1 tag=TAG20120530T163823 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02 Finished backup at 3-JUN-12
查看nfs源端文件
[root@xifenfei rman]# pwd /tmp/nfs/rman [root@xifenfei rman]# ls -l total 378300 -rw-r----- 1 54321 54321 379846656 Jun 3 13:45 system01_07nc9rrv_1_1 -rw-r----- 1 54321 54321 7143424 Jun 3 13:45 system01_08nc9s07_1_1
要点说明
Mount Options for Oracle files when used with NFS on NAS devices [ID 359515.1]
ORA-39126: 在 KUPW$WORKER.PUT_DDLS [TABLE_STATISTICS] 中 Worker 发生意外致命错误
使用impdp导入数据报如下错误导致导入终止
处理对象类型 SCHEMA_EXPORT/TABLE/TRIGGER 处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX 处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS 处理对象类型 SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS ORA-39126: 在 KUPW$WORKER.PUT_DDLS [TABLE_STATISTICS] 中 Worker 发生意外致命错误 ORA-06502: PL/SQL: 数字或值错误 LPX-00225: end-element tag "HIST_GRAM_LIST_ITEM" does not match start-element tag "EPVALUE" ORA-06512: 在 "SYS.DBMS_SYS_ERROR", line 95 ORA-06512: 在 "SYS.KUPW$WORKER", line 9001 ----- PL/SQL Call Stack ----- object line object handle number name 26ABF4B0 20462 package body SYS.KUPW$WORKER 26ABF4B0 9028 package body SYS.KUPW$WORKER 26ABF4B0 16665 package body SYS.KUPW$WORKER 26ABF4B0 3956 package body SYS.KUPW$WORKER 26ABF4B0 9725 package body SYS.KUPW$WORKER 26ABF4B0 1775 package body SYS.KUPW$WORKER 290D454C 2 anonymous block ORA-39097: 数据泵作业出现意外的错误 -1427 ORA-39065: DISPATCH 中出现意外的主进程异常错误 ORA-01427: 单行子查询返回多个行 作业 "EAS"."SYS_IMPORT_SCHEMA_01" 因致命错误于 15:21:20 停止
从这里可以看出是在执行TABLE_STATISTICS的时候因为EPVALUE列的数据类型和导入数据不匹配,问题发生上面错误,导致impdp job终止.
解决办法
参考文档:[ID 878626.1]
1.如果数据已经expdp导出,建议在导入的时候屏蔽掉统计信息导入EXCLUDE=STATISTICS,导入后使用DBMS_STATS 重新收集统计信息
2.如果数据尚未expdp导出,建议在导出的时候屏蔽掉统计信息导出EXCLUDE=STATISTICS导入后使用DBMS_STATS 重新收集统计信息
undo坏块导致数据库异常终止案例
在处理的众多undo问题的数据库中,这个是第一例遇到因为undo出现坏块导致数据库自动down案例(oracle 9.2.0.8 aix)
undo坏块导致数据库down
Fri Jun 1 00:45:13 2012 Successfully onlined Undo Tablespace 1. Fri Jun 1 00:45:13 2012 SMON: enabling tx recovery Fri Jun 1 00:45:13 2012 Database Characterset is ZHS16GBK Fri Jun 1 00:45:13 2012 SMON: about to recover undo segment 52 SMON: about to recover undo segment 52 SMON: mark undo segment 52 as available SMON: Restarting fast_start parallel rollback SMON: about to recover undo segment 52 SMON: mark undo segment 52 as available SMON: ignoring slave err,downgrading to serial rollback SMON: about to recover undo segment 52 ORACLE Instance acc1 (pid = 9) - Error 1578 encountered while recovering transaction (52, 29). Fri Jun 1 00:45:14 2012 Errors in file /oraacc/app/admin/acc/bdump/acc1_smon_734734.trc: ORA-01578: ORACLE data block corrupted (file # 169, block # 55887) ORA-01110: data file 169: '/dev/raccount07_01lv' Fri Jun 1 00:45:15 2012 replication_dependency_tracking turned off (no async multimaster replication found) Completed: alter database open Fri Jun 1 00:45:16 2012 Errors in file /oraacc/app/admin/acc/bdump/acc1_pmon_766940.trc: ORA-00474: SMON process terminated with error Fri Jun 1 00:45:16 2012 PMON: terminating instance due to error 474 Instance terminated by PMON, pid = 766940
这里可以看出数据库因为回滚段52出现坏块导致回滚的时候smon终止,数据库down
检测坏块
$ dbv file='/dev/raccount07_01lv' blocksize=8192 DBVERIFY: Release 9.2.0.8.0 - Production on Fri Jun 1 01:25:10 2012 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. DBVERIFY - Verification starting : FILE = /dev/raccount07_01lv DBV-00200: Block, dba 708893135, already marked corrupted DBV-00200: Block, dba 708893151, already marked corrupted DBV-00200: Block, dba 708893263, already marked corrupted DBVERIFY - Verification complete Total Pages Examined : 1048320 Total Pages Processed (Data) : 0 Total Pages Failing (Data) : 0 Total Pages Processed (Index): 0 Total Pages Failing (Index): 0 Total Pages Processed (Other): 1048320 Total Pages Processed (Seg) : 0 Total Pages Failing (Seg) : 0 Total Pages Empty : 0 Total Pages Marked Corrupt : 3 Total Pages Influx : 0 Highest block SCN : 12843497215383 (2990.1545000343)
检测对应文件号/数据块号
SQL> select DBMS_UTILITY.data_block_address_file(708893135) file#,
2 DBMS_UTILITY.data_block_address_block(708893135) block# from dual;
FILE# BLOCK#
---------- ----------
169 55759
SQL> select DBMS_UTILITY.data_block_address_file(708893151) file#,
2 DBMS_UTILITY.data_block_address_block(708893151) block# from dual;
FILE# BLOCK#
---------- ----------
169 55775
SQL> select DBMS_UTILITY.data_block_address_file(708893263) file#,
2 DBMS_UTILITY.data_block_address_block(708893263) block# from dual;
FILE# BLOCK#
---------- ----------
169 55887
解决办法
--隐含参数 _corrupted_rollback_segments= _SYSSMU52$ --open库后 alter session set "_smu_debug_mode"=4; drop rollback segment "_SYSSMU52$";
发表在 Oracle备份恢复
评论关闭

加我微信(17813235971)
加我QQ(107644445)

