sql server drop table本质上数据也还是在磁盘上,通过底层技术依旧像Oracle一样可以恢复,测试一张表的drop恢复操作
通过对比发现我们实现drop table数据完美恢复.
当你的SQL Server数据库因为误操作导致数据丢失,且无法自行解决,请联系我们,提供专业SQL Server数据库恢复技术支持Phone:17813235971 Q Q:107644445 E-Mail:dba@xifenfei.com
对于sql server的delete操作,其实本质也是类似oracle的,我们可以通过两种途径进行恢复:1.直接解析sql的日志,2.直接读取mdf/ndf文件找出来被标记为删除的记录,在有日志的情况下,通过日志分析能够更加准确的定位记录(因为根据删除标记可能找到的记录不是这次删除操作的),这里来一个简单的恢复过程,一张sql server的表,记录数为83条
同时我们还可以根据需要生成对应的redo/undo相关sql语句
至此我们已经分析,可以比较完美的恢复sql server delete误操作丢失的数据.
当你的SQL Server数据库因为误操作导致数据丢失,且无法自行解决,请联系我们,提供专业SQL Server数据库恢复技术支持Phone:17813235971 Q Q:107644445 E-Mail:dba@xifenfei.com
从本质上来说,sql server的truncate操作也是和oracle类似的,实际数据依旧存在磁盘之上,通过对底层的分析没有覆盖的部分,依然可以恢复出来,这里列举出来大概的恢复截图,原表数据4605条记录
通过恢复出来,解析出来被truncate表的insert sql语句
至此我们可以实现sql server数据库被truncate表的恢复支持,只要没有覆盖的数据,理论上都可以恢复
当你的SQL Server数据库因为误操作导致数据丢失,且无法自行解决,请联系我们,提供专业SQL Server数据库恢复技术支持Phone:17813235971 Q Q:107644445 E-Mail:dba@xifenfei.com
数据库作为企业的核心,如果数据库因损坏无法正常运行,导致数据丢失,将给企业带来无法挽回的经济损坏。当您的数据库出现故障,又没有有效的备份之时,我们就是您的最后一道防线,尽最大可能帮您挽救数据库,减少损失。我们是原服务于Oracle原厂售后(ACS),有Oracle ACE的国内知名数据库专家团队;帮客户恢复数据库1000套以上,总恢复数据量1000T以上;恢复数据库版本从ORACLE 7、ORACLE 8/8I,ORACLE 9I、ORACLE 10G,ORACLE 11G,ORACLE 12C,ORACLE 18C到ORACLE 19C;平台有Linux、Windows、AIX、HP-UNIX、SOLARIS等;客户从新疆到海南,从黑龙江到广西遍布中国所有省份;客户有:金融(保险,银行,证劵,基金等)、通信(移动,电信,联通)、能源(电力,石油,煤炭,光伏等)、政府/公共(公安,社/医保,军队,高校,医院,税务,政府等)、制造业/商贸(互联网,电子机械,商贸流通,制造业等)等各行业。不管你是什么样的数据库故障,不管你找过多少个人和公司恢复没成功,我们都是你的一个值得考虑选择。我们不敢说全国技术第一,但绝对是Oracle数据库恢复国内第一梯队,我们可以保证如果我们不能恢复的Oracle数据库,你的数据库几乎无人可以恢复成功。我们承诺:所有数据库恢复不成功,未达到实现承诺不收取任何费用。
如果需要专业ORACLE数据库恢复技术支持,请联系我们
电话/微信:17813235971 Q Q:107644445 E-Mail:dba@xifenfei.com
主要支持数据库恢复内容但不仅限如此
误drop table 恢复
数据文件大小为0kb
误delete/update 恢复
误truncate table 恢复
asm数据文件丢失/误删除
文件文件被加密勒索比特币
丢失system文件数据库恢复
asm 磁盘被意外格式化恢复
bootstarp$中对象验证损坏
asm磁盘组损坏,无法正常mount
操作系统层面误删除数据文件恢复
数据库因为undo损坏/丢失无法正常启动
数据库因为某些数据块损坏不能正常工作
数据库因为ORA-600错误而不能正常启动
exp dmp文件损坏,无法正常导入数据库恢复
数据库因为控制文件损坏/丢失无法正常启动
数据库因为redo损坏/丢失导致无法正常启动
数据库因为数据文件损坏/丢失无法正常启动
数据库因为丢失归档导致数据文件无法online
数据库错误offline system文件导致无法启动
数据库因为操作系统损坏,只有数据文件恢复
数据库因存储异常,导致数据库无法正常启动
expdp dmp文件损坏,无法正常导入数据库恢复
部分asm磁盘丢失导致asm 磁盘组无法正常使用
数据库因为错误的resetlogs操作导致恢复无法继续
数据库因为断电、异常关机等原因导致不能正常启动
以下是比较典型的ORACLE故障恢复
system rollback异常恢复
ORA-00604 ORA-00607 ORA-00600[4194]
Thu Jul 26 13:21:11 2012 Recovery of Online Redo Log: Thread 1 Group 1 Seq 3994 Reading mem 0 Mem# 0: /orasvr/mispdata/redo01.log Block recovery completed at rba 3994.5.16, scn 0.89979533 Thu Jul 26 13:21:11 2012 Errors in file /orasvr/admin/mispdata/udump/mispdata_ora_2865.trc: ORA-00604: error occurred at recursive SQL level 1 ORA-00607: Internal error occurred while making a change to a data block ORA-00600: internal error code, arguments: [4194], [31], [2], [], [], [], [], [] Error 604 happened during db open, shutting down database USER: terminating instance due to error 604 Instance terminated by USER, pid = 2865 ORA-1092 signalled during: ALTER DATABASE OPEN...
undo segment异常恢复
ORA-00704 ORA-00604 ORA-01555
Fri May 4 21:04:21 2012 select ctime, mtime, stime from obj$ where obj# = :1 Fri May 4 21:04:21 2012 Errors in file /oracle/admin/standdb/udump/perfdb_ora_1286288.trc: ORA-00704: bootstrap process failure ORA-00704: bootstrap process failure ORA-00604: error occurred at recursive SQL level 1 ORA-01555: snapshot too old: rollback segment number 40 with name "_SYSSMU40$" too small Error 704 happened during db open, shutting down database USER: terminating instance due to error 704 Instance terminated by USER, pid = 1286288 ORA-1092 signalled during: alter database open resetlogs...
ORA-00704 ORA-00604 ORA-01173
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set Wed Feb 12 10:16:00 2014 SMON: enabling cache recovery Errors in file H:\ORACLE\diag\rdbms\orcl\orcl\trace\orcl_ora_9232.trc: ORA-01173: data dictionary indicates missing data file from system tablespace Errors in file H:\ORACLE\diag\rdbms\orcl\orcl\trace\orcl_ora_9232.trc: ORA-00704: bootstrap process failure ORA-00704: bootstrap process failure ORA-00604: error occurred at recursive SQL level 1 ORA-01173: data dictionary indicates missing data file from system tablespace Errors in file H:\ORACLE\diag\rdbms\orcl\orcl\trace\orcl_ora_9232.trc: ORA-00704: bootstrap process failure ORA-00704: bootstrap process failure ORA-00604: error occurred at recursive SQL level 1 ORA-01173: data dictionary indicates missing data file from system tablespace Error 704 happened during db open, shutting down database USER (ospid: 9232): terminating the instance due to error 704 Instance terminated by USER, pid = 9232 ORA-1092 signalled during: alter database open resetlogs...
obj$事务异常恢复
ORA-00704 ORA-00600[4000]
Thu Feb 28 19:29:10 2013 SMON: enabling cache recovery Thu Feb 28 19:29:11 2013 Errors in file /u1/PROD/prodora/db/tech_st/10.2.0/admin/PROD_oracle/udump/prod_ora_20989.trc: ORA-00600: internal error code, arguments: [4000], [50], [], [], [], [], [], [] Thu Feb 28 19:29:13 2013 Incremental checkpoint up to RBA [0x1.3.0], current log tail at RBA [0x1.3.0] Thu Feb 28 19:29:13 2013 Errors in file /u1/PROD/prodora/db/tech_st/10.2.0/admin/PROD_oracle/udump/prod_ora_20989.trc: ORA-00704: bootstrap process failure ORA-00704: bootstrap process failure ORA-00600: internal error code, arguments: [4000], [50], [], [], [], [], [], [] Thu Feb 28 19:29:13 2013 Error 704 happened during db open, shutting down database USER: terminating instance due to error 704 Instance terminated by USER, pid = 20989 ORA-1092 signalled during: ALTER DATABASE OPEN RESETLOGS...
IO异常恢复
ORA-01115 ORA-01110 ORA-27070 OSD-04016
Tue May 14 15:32:10 2013 Completed redo scan 16941 redo blocks read, 1106 data blocks need recovery Tue May 14 15:32:17 2013 Errors in file d:\oracle\product\10.2.0\admin\water\bdump\water_p002_1472.trc: ORA-01115: IO error reading block from file 6 (block # 81951) ORA-01110: data file 6: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\WATER\YD_DATA01.DBF' ORA-27070: async read/write failed OSD-04016: 异步 I/O 请求排队时出错。 O/S-Error: (OS 23) 数据错误(循环冗余检查)。
常见错误信息
表或者索引坏块相关错误
ORA-01578/ORA-08103/ORA-01410/ORA-08102/ORA-600 kdsgrp1/ORA-600 qertbfetchbyrowid/ORA-01499/ORA-01555/ORA-26040/ORA-27046
控制文件异常
ORA-00202/ORA-600 kccsbck_first/ORA-600 kccscf_1/ORA-600[kccsbck_first]/ORA-600 kccsbck_first/ORA-00205/ORA-600 kccpb_sanity_check_2
REDO或者UNDO异常
ORA-00376/ORA-00600 4097/ORA-01595/ORA-600 4194/ORA-600 4193/ORA-600 kcfrbd_3/ORA-00600 4137/ORA-01594/ORA-01555/ORA-00704/ORA-00604/ORA-00607/ORA-600 4000/ORA-00600[3705]/ORA-00316/ORA-00312/ORA-00327/ORA-01623/ORA-01624/ORA-01194/ORA-600 2662/ORA-00368/ORA-00353/ORA-00305/ORA-00340/ORA-00345/ORA-00354
各种ORA-600错误
ORA-600 4497/ORA-600 6947/ORA-600 2662/ORA-600 4194/ORA-600 4193/ORA-00600 4137/ORA-600 4000/ORA- 600 kcrf_resilver_log_1/ORA- 600 kdxlin:psno out of range/ORA-600 3020/ORA-600 kccpb_sanity_check_2/ORA-600 3705/ORA-600 kccscf_1/ORA-600 kghstack_free2/ORA-600 kcfrbd_3/ORA-600 ktbdchk1: bad dscn/ORA-600 2252/ORA-600 kcratr_nab_less_than_odr/ORA-600 kccsbck_first/ORA-600 kcratr1_lostwrt/ORA-600 ktspNextL1:4/ORA-600 13013/ORA-600 kdsgrp1/ORA-600 kmgs_parameter_update_timeout_1/ORA-600 kcbgtcr_1/ORA-600 kcbgtcr_1a/ORA-600 kcbgtcr_3/ORA-600 kcbgtcr_4/ORA-600 kcbgtcr_5/ORA-600 kcbgtcr_6/ORA-600 kcbgtcr_7/ORA-600 kcbgtcr_10/ORA-600 kcbgtcr_12/ORA-600 kcbgtcr_13/ORA-600 qertbfetchbyrowid/ORA-600 kmgs_parameter_update_timeout_1
为了能快速评估你的库故障,恢复难以程度,请使用Oracle Database Recovery Check检查数据库,生成html, alert日志, trace文件发我(adb@xifenfei.com)。
近期无备份数据库恢复主要案例
Base Releases |
|
19c |
Oracle Database Software Download Page |
18c | Oracle Database Software Download Page |
12.2.0.1.0 | Oracle Database Software Download Page |
12.1.0.1.0 | Raise a non-technical SR for Physical Shipment or Download URL. Refer Doc ID 1071023.1 |
11.2.0.1.0 | Oracle Database Software Download Page |
Versions older than 11.2.0.1.0 | Raise a non-technical SR for Physical Shipment or Download URL. Refer Doc ID 1071023.1 |
Patchsets |
|
12.1.0.2 (12.1.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER) |
|
11.2.0.4 (11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER) |
|
11.2.0.3 (11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER) |
|
11.2.0.2 (11.2.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER) |
|
11.1.0.7 (11.1.0.7.0 PATCH SET FOR ORACLE DATABASE SERVER) |
|
10.2.0.5 (10.2.0.5 PATCH SET FOR ORACLE DATABASE SERVER) |
|
A10.2.0.4 (10.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER) |
|
B10.2.0.3 (10.2.0.3 PATCH SET FOR ORACLE DATABASE SERVER) |
|
10.2.0.2 (10.2.0.2 PATCH SET FOR ORACLE DATABASE SERVER) |
|
10.1.0.5 (10.1.0.5 PATCH SET FOR ORACLE DATABASE SERVER) |
|
10.1.0.4 (10.1.0.4 PATCH SET FOR ORACLE DATABASE SERVER) |
|
10.1.0.3 (10.1.0.3 PATCH SET FOR ORACLE DATABASE SERVER) |
|
9.2.0.8 (9.2.0.8 PATCH SET FOR ORACLE DATABASE SERVER) |
|
9.2.0.7 (9.2.0.7 PATCH SET FOR ORACLE DATABASE SERVER) |
|
9.2.0.6 (9.2.0.6 PATCH SET FOR ORACLE DATABASE SERVER) |
|
9.2.0.5 (ORACLE 9I DATABASE SERVER RELEASE 2 – PATCH SET 4 VERSION 9.2.0.5.0) |
|
9.2.0.4 (9.2.0.4 PATCH SET FOR ORACLE DATABASE SERVER) |
|
9.2.0.3 (9.2.0.3 PATCH SET FOR ORACLE DATABASE SERVER) |
|
9.2.0.2 (9.2.0.2 PATCH SET FOR ORACLE DATABASE SERVER) |
|
9.0.1.5 (9.0.1.5 PATCHSET) |
|
9.0.1.4 (9.0.1.4 PATCH SET FOR ORACLE DATABASE SERVER) |
|
9.0.1.3 (9.0.1.3. PATCH SET FOR ORACLE DATA SERVER) |
|
8.1.7.4 (8.1.7.4 PATCH SET FOR ORACLE DATA SERVER) |
|
8.1.7.3 (8.1.7.3 PATCH SET FOR ORACLE DATA SERVER) |
|
8.1.7.2 (8.1.7.2.1 PATCH SET FOR ORACLE DATA SERVER) |
19.0.0.0 |
|||
Description |
Database Update | GI Update | Windows Bundle Patch |
OCT2019 (19.5.0.0.0) | 30125133 | 30116789 | 30151705 |
JUL2019 (19.4.0.0.0) | 29834717 | 29708769 | NA |
APR2019 (19.3.0.0.0) | 29517242 | 29517302 | NA |
19.0.0.0 |
||||
Release |
DB Revision 1 | DB Revision 2 | GI Revision 1 | GI Revision 2 |
OCT2019 | 30080447 (19.4.1.0.0) | 30087906 (19.3.2.0.0) | 30134717 (19.4.1.0.0) | 30135696 (19.3.2.0.0) |
18.0.0.0 |
|||
Description |
Database Update | GI Update | Windows Bundle Patch |
OCT2019 (18.8.0.0.0) | 30112122 | 30116795 | 30150321 |
JUL2019 (18.7.0.0.0) | 29757256 | 29708703 | 29859180 |
APR2019 (18.6.0.0.0) | 29301631 | 29301682 | 29589622 |
JAN2019 (18.5.0.0.0) | 28822489 | 28828717 | 29124511 |
OCT2018 (18.4.0.0.0) | 28655784 | 28659165 | NA |
JUL2018 (18.3.0.0.0) | 28090523 | 28096386 | NA |
APR2018 (18.2.0.0.0) | 27676517 | 27681568 | NA |
18.0.0.0 |
||||
Release |
DB Revision 1 | DB Revision 2 | GI Revision 1 | GI Revision 2 |
OCT2019 | 30080518 (18.7.1.0.0) | 30087881(18.6.2.0.0) | 30135098 (18.7.1.0.0) | 30134851 (18.6.2.0.0) |
JUL2019 | 29708235 (18.6.1.0.0) | 29708437(18.5.2.0.0) | 29708736 (18.6.1.0.0) | 29708805 (18.5.2.0.0) |
APR2019 | 29230887 (18.5.1.0.0) | 29230809(18.4.2.0.0) | 29231062 (18.5.1.0.0) | 29230841 (18.4.2.0.0) |
JAN2019 | 28822587 (18.4.1.0.0) | 28790643(18.3.2.0.0) | 28833172 (18.4.1.0.0) | 28833251 (18.3.1.0.0) |
OCT2018 | 28507480 (18.3.1.0.0) | 28601267(18.2.2.0.0) | 28660077 (18.3.1.0.0) | 28702032 (18.2.2.0.0) |
JUL2018 | 28346593 (18.2.1.0.0) | 28276290 (18.2.1.0.0) |
|
12.1.0.2 |
||||
Description |
PSU | GI PSU | Proactive Bundle Patch | Bundle Patch(Windows 32bit & 64bit) |
OCT2019 (12.1.0.2.191015) | 29918340 | 30070257 | 30070242 | 30049606 |
JUL2019 (12.1.0.2.190716) | 29494060 | 29698592 | 29698629 | 29831650 |
APR2019 (12.1.0.2.190416) | 29141015 | 29176115 | 29176139 | 29413116 |
JAN2019 (12.1.0.2.190115) | 28729169 | 28813884 | 28833531 | 28810679 |
NOV2018 (12.1.0.2.181130) | NA | NA | NA | 28810544 (64bit) |
OCT2018 (12.1.0.2.181016) | 28259833 | 28349311 | 28349951 | 28563501 |
JUL2018 (12.1.0.2.180717) | 27547329 | 27967747 | 27968010 | 27937907 |
APR2018 (12.1.0.2.180417) | 27338041 | 27468957 | 27486326 | 27440294 |
JAN2018 (12.1.0.2.180116) | 26925311 | 27010872 | 27010930 | 27162953 |
OCT2017 (12.1.0.2.171017) | 26713565 | 26635815 | 26635880 | 26720785 |
AUG2017(12.1.0.2.170814) | 26609783 | 26610308 | 26610322 | 26161726 |
JUL2017 (12.1.0.2.170718) | 25755742 | 25901062 | 26022196 | 26161724 |
APR2017 (12.1.0.2.170418) | 25171037 | 25434003 | 25433352 | 25632533 |
JAN2017 (12.1.0.2.170117) | 24732082 | 24917825 | 24968615 | 25115951 |
OCT2016 (12.1.0.2.161018) | 24006101 | 24412235 | 24448103 | 24591642 |
JUL2016 (12.1.0.2.160719) | 23054246 | 23273629 | 23273686 | 23530387 |
APR2016 (12.1.0.2.160419) | 22291127 | 22646084 | 22899531 | 22809813 |
JAN2016 (12.1.0.2.160119) | 21948354 | 22191349 | 22243551 | 22310559 |
OCT2015 | 21359755(12.1.0.2.5) | 21523234(12.1.0.2.5) | 21744410(12.1.0.2.13) | 21821214(12.1.0.2.10) |
JUL2015 | 20831110(12.1.0.2.4) | 20996835(12.1.0.2.4) | 21188742(12.1.0.2.10) | 21126814(12.1.0.2.7) |
APR2015 | 20299023(12.1.0.2.3) | 20485724(12.1.0.2.3) | 20698050(12.1.0.2.7) | 20684004(12.1.0.2.4) |
JAN2015 | 19769480(12.1.0.2.2) | 19954978(12.1.0.2.2) | 20141343(12.1.0.2.4) | 19720843(12.1.0.2.1) |
OCT2014 | 19303936(12.1.0.2.1) | 19392646(12.1.0.2.1) | 19404326(12.1.0.2.1) | N/A |
12.1.0.1 |
|||||
Description |
PSU |
GI PSU |
Bundle Patch |
||
A |
B |
Windows 64 bit |
Windows 32 bit |
||
JUL2016 (12.1.0.1.160719) |
23273935 | ||||
APR2016 (12.1.0.1.160419) |
|||||
JAN2016 (12.1.0.1.160119) |
|||||
OCT2015 |
21352619(12.1.0.1.9) |
21551666(12.1.0.1.9) |
21551685(12.1.0.1.9) |
21744907 (12.1.0.1.21) |
|
JUL2015 |
20831107(12.1.0.1.8) |
20996901(12.1.0.1.8) |
20996911(12.1.0.1.8) |
21076681 (12.1.0.1.20) |
|
APR2015 |
20299016(12.1.0.1.7) |
20485762(12.1.0.1.7) |
19971331(12.1.0.1.7) |
20558101 (12.1.0.1.18) |
|
JAN2015 |
19769486(12.1.0.1.6) |
19971324(12.1.0.1.6) |
19971331(12.1.0.1.6) |
20160748 (12.1.0.1.16) |
|
OCT2014 |
19121550(12.1.0.1.5) |
19392372(12.1.0.1.5) |
19392451(12.1.0.1.5) |
19542943 (12.1.0.1.14) |
|
JUL2014 |
18522516(12.1.0.1.4) |
18705901(12.1.0.1.4) |
18705972(12.1.0.1.4) |
19062327 (12.1.0.1.11) |
|
APR2014 |
18031528(12.1.0.1.3) |
18139660(12.1.0.1.3) |
18413105(12.1.0.1.3) |
18448604 (12.1.0.1.7) |
|
JAN2014 |
17552800(12.1.0.1.2) |
17735306 (12.1.0.1.2) |
17977915 (12.1.0.1.3) |
||
OCT2013 |
17027533(12.1.0.1.1) |
17272829 (12.1.0.1.1) |
17363796(12.1.0.1.1) |
17363795(12.1.0.1.1) |
11.2.0.4 |
||||
Description |
PSU | SPU(CPU) | GI PSU | Bundle Patch (Windows 32bit & 64bit) |
OCT2019 (11.2.0.4.191015) | 29913194 | N/A | 30070097 | 30151661 |
JUL2019 (11.2.0.4.190716) | 29497421 | N/A | 29698727 | 29596609 |
APR2019 (11.2.0.4.190416) | 29141056 | 28790634 | 29255947 | 29218820 |
JAN2019 (11.2.0.4.190115) | 28729262 | 28790634 | 28813878 | 28761877 |
OCT2018 (11.2.0.4.181016) | 28204707 | 28364007 | 28429134 | 28265827 |
JUL2018 (11.2.0.4.180717) | 27734982 | 27870645 | 27967757 | 27695940 |
APR2018 (11.2.0.4.180417) | 27338049 | 26474853 | 27475913 | 27381640 |
JAN2018 (11.2.0.4.180116) | 26925576 | N/A | 27107360 | 27162965 |
OCT2017 (11.2.0.4.171017) | 26392168 | 26474853 | 26635745 | 26581376 |
AUG2017 (11.2.0.4.170814) | 26609445 | N/A | 26610246 | 26194138 |
JUL2017 (11.2.0.4.170718) | 25869727 | 25879656 | 26030799 | 26194136 |
APR2017 (11.2.0.4.170418) | 24732075 | 25369547 | 25476126 | 25632525 |
JAN2017 | N/A | N/A | N/A | N/A |
OCT2016 (11.2.0.4.161018) | 24006111 | 24433711 | 24436338 | 24591646 |
JUL2016 (11.2.0.4.160719) | 23054359 | 23177648 | 23274134 | 23530402 |
APR2016 (11.2.0.4.160419) | 22502456 | 22502493 | 22646198 | 22839608 |
JAN2016 (11.2.0.4.160119) | 21948347 | 21972320 | 22191577 | 22310544 |
OCT2015 | 21352635 (11.2.0.4.8) | 21352646 | 21523375 (11.2.0.4.8) | 21821802 (11.2.0.4.20) |
JUL2015 | 20760982 (11.2.0.4.7) | 20803583 | 20996923 (11.2.0.4.7) | 21469106 (11.2.0.4.18) |
APR2015 | 20299013 (11.2.0.4.6) | 20299015 | 20485808 (11.2.0.4.6) | 20544696 (11.2.0.4.15) |
JAN2015 | 19769489 (11.2.0.4.5) | 19854503 | 19955028 (11.2.0.4.5) | 20127071 (11.2.0.4.12) |
OCT2014 | 19121551 (11.2.0.4.4) | 19271443 | 19380115 (11.2.0.4.4) | 19651773 (11.2.0.4.10) |
JUL2014 | 18522509 (11.2.0.4.3) | 18681862 | 18706472 (11.2.0.4.3) | 18842982 (11.2.0.4.7) |
APR2014 | 18031668 (11.2.0.4.2) | 18139690 | 18139609 (11.2.0.4.2) | 18296644 (11.2.0.4.4) |
JAN2014 | 17478514 (11.2.0.4.1) | 17551709 | N/A | 17987366 (11.2.0.4.1) |
11.2.0.3 |
|||||
Description |
PSU |
SPU(CPU) |
GI PSU |
Bundle Patch (Windows 64bit) |
Bundle Patch (Windows 32bit) |
JUL2015 |
20760997 (11.2.0.3.15) |
20996944 (11.2.0.3.15) |
|||
APR2015 |
20299017 (11.2.0.3.14) |
20485830 (11.2.0.3.14) |
|||
JAN2015 |
19769496 (11.2.0.3.13) |
19971343 (11.2.0.3.13) |
|||
OCT2014 |
19121548 (11.2.0.3.12) |
19440385 (11.2.0.3.12) |
|||
JUL2014 |
18522512 (11.2.0.3.11) |
18706488 (11.2.0.3.11) |
|||
APR2014 |
18031683 (11.2.0.3.10) |
18139678 (11.2.0.3.10) |
|||
JAN2014 |
17540582 (11.2.0.3.9) |
17735354 (11.2.0.3.9) |
|||
OCT2013 |
16902043 (11.2.0.3.8) |
17272731 (11.2.0.3.8) |
|||
JUL2013 |
16619892 (11.2.0.3.7) |
16742216 (11.2.0.3.7) |
|||
APR2013 |
16056266 (11.2.0.3.6) |
16083653 (11.2.0.3.6) |
|||
JAN2013 |
14727310 (11.2.0.3.5) |
14727347 (11.2.0.3.5) |
|||
OCT2012 |
14275605 (11.2.0.3.4) |
14275572 (11.2.0.3.4) |
|||
JUL2012 |
13923374 (11.2.0.3.3) |
13919095 (11.2.0.3.3) |
|||
APR2012 |
13696216 (11.2.0.3.2) |
13696251 (11.2.0.3.2) |
|||
JAN2012 |
13343438 (11.2.0.3.1) |
13348650 (11.2.0.3.1) |
11.2.0.2 |
|||||
Description |
PSU |
SPU(CPU) |
GI PSU |
Bundle Patch (Windows 64bit) |
Bundle Patch (Windows 32bit) |
OCT2013 |
17082367 (11.2.0.2.12) |
17272753 (11.2.0.2.12) |
|||
JUL2013 |
16619893 (11.2.0.2.11) |
16742320 (11.2.0.2.11) |
|||
APR2013 |
16056267 (11.2.0.2.10) |
16166868 (11.2.0.2.10) |
|||
JAN2013 |
14727315 (11.2.0.2.9) |
14841385 (11.2.0.2.9) |
|||
OCT2012 |
14275621 (11.2.0.2.8) |
14390437 (11.2.0.2.8) |
|||
JUL2012 |
13923804 (11.2.0.2.7) |
14192201 (11.2.0.2.7) |
|||
APR2012 |
13696224 (11.2.0.2.6) |
13696242 (11.2.0.2.6) |
|||
JAN2012 |
13343424 (11.2.0.2.5) |
13653086 (11.2.0.2.5) |
|||
OCT2011 |
12827726 (11.2.0.2.4) |
12827731 (11.2.0.2.4) |
|||
JUL2011 |
12419331 (11.2.0.2.3) |
12419353 (11.2.0.2.3) |
|||
APR2011 |
11724916 (11.2.0.2.2) |
12311357 (11.2.0.2.2) |
|||
JAN2011 |
10248523 (11.2.0.2.1) |
N/A |
N/A |
11.2.0.1 |
||||
Description |
PSU |
CPU |
Bundle Patch (Windows 64bit) |
Bundle Patch (Windows 32bit) |
JUL2011 |
12419378 (11.2.0.1.6) |
|||
APR2011 |
11724930 (11.2.0.1.5) |
|||
JAN2011 |
10248516 (11.2.0.1.4) |
|||
OCT2010 |
9952216 (11.2.0.1.3) |
|||
JUL2010 |
9654983 (11.2.0.1.2) |
|||
APR2010 |
9352237 (11.2.0.1.1) |
N/A |
N/A |
10.2.0.5 |
|||||
Description |
PSU |
SPU(CPU) |
Bundle Patch (Windows 64bit) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
JUL2015 |
20299014(10.2.0.5.19) |
N/A |
|||
APR2015 |
N/A |
N/A |
N/A |
N/A |
N/A |
JAN2015 |
19769505(10.2.0.5.18) |
N/A |
|||
OCT2014 |
19274523(10.2.0.5.17) |
N/A |
|||
JUL2014 |
18522511(10.2.0.5.16) |
N/A |
|||
APR2014 |
18031728(10.2.0.5.15) |
N/A |
|||
JAN2014 |
17465584(10.2.0.5.14) |
N/A |
|||
OCT2013 |
17082365(10.2.0.5.13) |
N/A |
N/A |
||
JUL2013 |
16619894(10.2.0.5.12) |
||||
APR2013 |
16056270(10.2.0.5.11) |
||||
JAN2013 |
14727319(10.2.0.5.10) |
||||
OCT2012 |
14275629(10.2.0.5.9) |
||||
JUL2012 |
13923855(10.2.0.5.8) |
||||
APR2012 |
13632743(10.2.0.5.7) |
||||
JAN2012 |
13343471(10.2.0.5.6) |
N/A |
|||
OCT2011 |
12827745(10.2.0.5.5) |
N/A |
N/A |
||
JUL2011 |
12419392(10.2.0.5.4) |
N/A |
|||
APR2011 |
11724962(10.2.0.5.3) |
N/A |
|||
JAN2011 |
10248542(10.2.0.5.2) |
N/A |
|||
OCT2010 |
9952230(10.2.0.5.1) |
N/A |
10.2.0.4 |
|||||
Description |
PSU |
SPU(CPU) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows 64bit) |
Bundle Patch (Windows Itanium) |
JUL2013 |
16619897 (10.2.0.4.17) |
N/A |
N/A |
N/A |
|
APR2013 |
16056269 (10.2.0.4.16) |
N/A |
N/A |
N/A |
|
JAN2013 |
14736542 (10.2.0.4.15) |
N/A |
N/A |
N/A |
|
OCT2012 |
14275630 (10.2.0.4.14) |
N/A |
N/A |
N/A |
|
JUL2012 |
13923851 (10.2.0.4.13) |
N/A |
N/A |
N/A |
|
APR2012 |
12879933 (10.2.0.4.12) |
N/A |
|||
JAN2012 |
12879929 (10.2.0.4.11) |
N/A |
N/A |
||
OCT2011 |
12827778 (10.2.0.4.10) |
||||
JUL2011 |
12419397 (10.2.0.4.9) |
||||
APR2011 |
11724977 (10.2.0.4.8) |
||||
JAN2011 |
10248636 (10.2.0.4.7) |
||||
OCT2010 |
9952234 (10.2.0.4.6) |
||||
JUL2010 |
9654991 (10.2.0.4.5) |
||||
APR2010 |
9352164 (10.2.0.4.4) |
||||
JAN2010 |
9119284 (10.2.0.4.3) |
||||
OCT2009 |
8833280 (10.2.0.4.2) |
||||
JUL2009 |
8576156 (10.2.0.4.1) |
||||
APR2009 |
N/A |
||||
JAN2009 |
N/A |
N/A |
|||
OCT2008 |
N/A |
N/A |
|||
JUL2008 |
N/A |
N/A |
10.2.0.3 |
||||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
Bundle Patch (Windows 64bit) |
JAN2009 |
||||
OCT2008 |
||||
JUL2008 |
||||
APR2008 |
||||
JAN2008 |
||||
OCT2007 |
||||
JUL2007 |
||||
APR2007 |
||||
JAN2007 |
10.2.0.2 |
||||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows 64bit) |
Bundle Patch (Windows Itanium) |
JAN2009 |
N/A |
N/A |
N/A |
|
OCT2008 |
N/A |
N/A |
N/A |
|
JUL2008 |
N/A |
N/A |
N/A |
|
APR2008 |
N/A |
N/A |
N/A |
|
JAN2008 |
N/A |
N/A |
N/A |
|
OCT2007 |
||||
JUL2007 |
||||
APR2007 |
||||
JAN2007 |
||||
OCT2006 |
||||
JUL2006 |
||||
APR2006 |
10.2.0.1 |
||||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows 64bit) |
Bundle Patch (Windows Itanium) |
APR2007 |
N/A |
N/A |
N/A |
|
JAN2007 |
||||
OCT2006 |
||||
JUL2006 |
||||
APR2006 |
||||
JAN2006 |
10.1.0.5 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
JAN2012 |
|||
OCT2011 |
|||
JUL2011 |
|||
APR2011 |
|||
JAN2011 |
N/A |
N/A |
N/A |
OCT2010 |
|||
JUL2010 |
|||
APR2010 |
|||
JAN2010 |
|||
OCT2009 |
|||
JUL2009 |
|||
APR2009 |
|||
JAN2009 |
|||
OCT2008 |
|||
JUL2008 |
|||
APR2008 |
|||
JAN2008 |
|||
OCT2007 |
|||
JUL2007 |
|||
APR2007 |
|||
JAN2007 |
|||
OCT2006 |
|||
JUL2006 |
|||
APR2006 |
|||
JAN2006 |
10.1.0.4 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
APR2007 |
|||
JAN2007 |
|||
OCT2006 |
|||
JUL2006 |
|||
APR2006 |
|||
JAN2006 |
|||
OCT2005 |
|||
JUL2005 |
|||
APR2005 |
10.1.0.3 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
JAN2007 |
N/A |
N/A |
|
OCT2006 |
N/A |
N/A |
|
JUL2006 |
N/A |
N/A |
|
APR2006 |
N/A |
N/A |
|
JAN2006 |
|||
OCT2005 |
|||
JUL2005 |
|||
APR2005 |
|||
JAN2005 |
10.1.0.2 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
APR2005 |
|||
JUL2005 |
|||
JAN2005 |
9.2.0.8 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
JUL2010 |
|||
APR2010 |
N/A |
||
JAN2010 |
N/A |
||
OCT2009 |
|||
JUL2009 |
|||
APR2009 |
|||
JAN2009 |
|||
OCT2008 |
|||
JUL2008 |
|||
APR2008 |
|||
JAN2008 |
|||
OCT2007 |
|||
JUL2007 |
|||
APR2007 |
|||
JAN2007 |
N/A |
N/A |
N/A |
OCT2006 |
9.2.0.7 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
JUL2007 |
|||
APR2007 |
|||
JAN2007 |
|||
OCT2006 |
|||
JUL2006 |
|||
APR2006 |
|||
JAN2006 |
|||
OCT2005 |
|||
JUL2005 |
N/A |
N/A |
9.2.0.6 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
OCT2006 |
|||
JUL2006 |
|||
APR2006 |
|||
JAN2006 |
|||
OCT2005 |
|||
JUL2005 |
|||
APR2005 |
9.2.0.5 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
OCT2006 |
N/A |
N/A |
|
JUL2006 |
N/A |
N/A |
|
APR2006 |
N/A |
N/A |
|
OCT2005 |
N/A |
N/A |
|
JUL2005 |
|||
APR2005 |
|||
JAN2005 |
9.2.0.4 |
|||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
Bundle Patch (Windows Itanium) |
JAN2005 |
8.1.7.4 |
||
Description |
CPU (Unix/Linux) |
Bundle Patch (Windows 32bit) |
JAN2007 |
||
OCT2006 |
||
JUL2006 |
||
APR2006 |
||
JAN2006 |
||
OCT2005 |
||
JUL2005 |
||
APR2005 |
||
JAN2005 |
参考:Assistant: Download Reference for Oracle Database/GI Update, Revision, PSU, SPU(CPU), Bundle Patches, Patchsets and Base Releases (文档 ID 2118136.2)
在某些极端情况下,需要在linux 6上面安装Oracle 19C(没有通过官方认证),这里进行了一些测试,安装实施成功,主要问题记录如下:
系统信息
[root@ora11g ~]# more /etc/issue Oracle Linux Server release 6.9 Kernel \r on an \m [root@ora11g ~]# uname -r 4.1.12-61.1.28.el6uek.x86_64
[FATAL] [INS-30060] Check for group existence failed
通过./runInstaller -ignoreInternalDriverError解决
参考:Oracle 18c on RHEL 6.10 fail with “[FATAL] [INS-30060] Check for group existence failed.” (Doc ID 2464358.1)
安装完成之后,sqlplus启动报错
[oracle@ora11g ~]$ sqlplus -v sqlplus: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /u02/app/oracle/product/19.2/db_1/lib/libclntsh.so.19.1) sqlplus: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /u02/app/oracle/product/19.2/db_1/lib/libclntshcore.so.19.1) sqlplus: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /u02/app/oracle/product/19.2/db_1/lib/libnnz19.so)
主要是由于19C要求glibc-2.14,但是该系统版本情况如下
[root@ora11g ~]# strings /lib64/libc.so.6 |grep GLIBC GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.5 GLIBC_2.6 GLIBC_2.7 GLIBC_2.8 GLIBC_2.9 GLIBC_2.10 GLIBC_2.11 GLIBC_2.12 GLIBC_PRIVATE
安装glibc-2.14
[root@ora11g ~]# wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz [root@ora11g ~]# mv glibc-2.14.tar.gz /opt/software [root@ora11g ~]# cd /opt/software [root@ora11g software]# tar xf glibc-2.14.tar.gz [root@ora11g software]# cd glibc-2.14 [root@ora11g glibc-2.14]# mkdir build [root@ora11g glibc-2.14]# cd build [root@ora11g build]# ../configure --prefix=/usr/local/glibc-2.14 [root@ora11g build]# make -j4 [root@ora11g build]# make install [root@ora11g build]# cd /usr/local/glibc-2.14/lib [root@ora11g lib]# cp libc-2.14.so /lib64/ [root@ora11g lib]# cd /lib64 [root@example lib64]# /sbin/sln libc-2.14.so /lib64/libc.so.6 [root@ora11g lib64]# strings /lib64/libc.so.6 |grep GLIBC GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.5 GLIBC_2.6 GLIBC_2.7 GLIBC_2.8 GLIBC_2.9 GLIBC_2.10 GLIBC_2.11 GLIBC_2.12 GLIBC_2.13 GLIBC_2.14 GLIBC_PRIVATE
sqlplus工作做正常
[oracle@ora11g ~]$ sqlplus / as sysdba SQL*Plus: Release 19.0.0.0.0 - Production on Sun Oct 6 15:53:10 2019 Version 19.2.0.0.0 Copyright (c) 1982, 2018, Oracle. All rights reserved. Connected to an idle instance. SQL> exit
通过dbca -J-Doracle.assistants.dbca.validate.ConfigurationParams=false 解决
国庆节前夕接到朋友求救电话asm disk被格式化成ext3格式了,具体操作如下
由于/被挂载新格式化的控盘,导致asm磁盘组访问其他盘报错
Sun Sep 29 18:15:02 2019 Errors in file /u01/app/grid/diag/asm/+asm/+ASM1/trace/+ASM1_b000_8094.trc: ORA-15025: could not open disk "/dev/asmdisk/sdh" ORA-27041: unable to open file Linux-x86_64 Error: 2: No such file or directory Additional information: 3 Errors in file /u01/app/grid/diag/asm/+asm/+ASM1/trace/+ASM1_b000_8094.trc: ORA-15025: could not open disk "/dev/asmdisk/sdh" ORA-27041: unable to open file Linux-x86_64 Error: 2: No such file or directory Additional information: 3 WARNING: cache failed reading from group=1(DATA) fn=9 blk=0 count=1 from disk= 5 (DATA_0005) kfkist=0x20 status=0x02 osderr=0x0 file=kfc.c line=11596 Errors in file /u01/app/grid/diag/asm/+asm/+ASM1/trace/+ASM1_b000_8094.trc: ORA-15025: could not open disk "/dev/asmdisk/sdh" ORA-27041: unable to open file Linux-x86_64 Error: 2: No such file or directory Additional information: 3 ORA-15080: synchronous I/O operation to a disk failed WARNING: cache succeeded reading from group=1(DATA) fn=9 blk=0 count=1 from disk= 7 (DATA_0007) kfkist=0x20 status=0x01 osderr=0x0 file=kfc.c line=11637 Errors in file /u01/app/grid/diag/asm/+asm/+ASM1/trace/+ASM1_b000_8094.trc: ORA-15025: could not open disk "/dev/asmdisk/sdh" ORA-27041: unable to open file Linux-x86_64 Error: 2: No such file or directory Additional information: 3 WARNING: PST-initiated drop of 1 disk(s) in group 1(.2380027701))
重启系统之后,重试mount 磁盘组
GMON dismounting group 1 at 18 for pid 31, osid 44279 NOTE: Disk DATA_0000 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0001 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0002 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0003 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0004 in mode 0x1 marked for de-assignment NOTE: Disk DATA_0005 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0006 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0007 in mode 0x7f marked for de-assignment NOTE: Disk in mode 0x7f marked for de-assignment NOTE: Disk DATA_0009 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0010 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0011 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0012 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0013 in mode 0x7f marked for de-assignment NOTE: Disk DATA_0014 in mode 0x7f marked for de-assignment ERROR: diskgroup DATA was not mounted ORA-15032: not all alterations performed ORA-15040: diskgroup is incomplete ORA-15042: ASM disk "8" is missing from group number "1" ERROR: ALTER DISKGROUP DATA MOUNT /* asm agent *//* {1:2587:2} */
由于sdb(asm disk 8)被格式化,导致data磁盘组无法正常mount.这个客户运气比较好data 磁盘组是normal模式,但是由于mount到/,导致disk 4被强制drop,因此无法mount成功,但是通过一系列处理数据实现完美恢复,0数据丢失
如果磁盘组是外部冗余,请参考:
又一例asm格式化文件系统恢复
一次完美的asm disk被格式化ntfs恢复
oracle asm disk格式化恢复—格式化为ext4文件系统
oracle asm disk格式化恢复—格式化为ntfs文件系统
有客户和我们反馈,他们数据库现在使用异常,查询dba_data_files报ORA-600 ktfbhget-4
*** 2019-09-21 13:56:42.944 ksedmp: internal or fatal error ORA-00600: internal error code, arguments: [ktfbhget-4], [384], [16], [], [], [], [], [] Current SQL statement for this session: select tablespace_name from dba_data_files ----- Call Stack Trace ----- calling call entry argument values in hex location type point (? means dubious value) -------------------- -------- -------------------- ---------------------------- ksedmp+0148 bl ksedst 1028F23AC ? ksfdmp+0018 bl 01FD7F4C kgerinv+00e8 bl _ptrgl kgesinv+0020 bl kgerinv 000000000 ? 000000000 ? FFFFFFFFFFF8920 ? 000400002 ? 000000000 ? ksesin+005c bl kgesinv 7000001637868E8 ? 110359FD8 ? 000000100 ? 000007FFF ? 000007FFF ? ktfbhget+047c bl ksesin 1029B1D18 ? 200000002 ? 000000000 ? 000000180 ? 000000000 ? 000000010 ? 000000008 ? 000000000 ? ktfbhcf+03c0 bl ktfbhget FFFFFFFFFFF8DA0 ? 1103589D8 ? 201035A57C ? 1C610005A40 ? qerfxFetch+0c94 bl 01FD7AC4 qerjoFetch+037c bl _ptrgl rwsfcd+0060 bl _ptrgl qersoFetch+0108 bl _ptrgl qerjoFetch+037c bl _ptrgl qerjoFetch+037c bl _ptrgl rwsfcd+0060 bl _ptrgl qeruaFetch+0140 bl 01FD7AC4 qervwFetch+008c bl 01FD7AC4 opifch2+0c68 bl 01FD7AC4 opiall0+1244 bl opifch2 7000001626B2F28 ? 100000001 ? FFFFFFFFFFFA3D8 ? kpoal8+0a68 bl opiall0 5E1000C818 ? 2200000014 ? FFFFFFFFFFFAAD8 ? 000000000 ? FFFFFFFFFFFAA28 ? 11028C2C8 ? 080000000 ? 4000000007FFF ? opiodr+08e8 bl _ptrgl ttcpip+0c54 bl _ptrgl opitsk+0c28 bl ttcpip 11000C818 ? 000000000 ? 000000000 ? 000000000 ? 000000000 ? 000000000 ? 000000000 ? 000000000 ? opiino+0798 bl opitsk 000000000 ? 000000000 ? opiodr+08e8 bl _ptrgl opidrv+032c bl opiodr 3C00000018 ? 4101F5E80 ? FFFFFFFFFFFF4C0 ? 0A000FD98 ? sou2o+0028 bl opidrv 3C0C000000 ? 400000000 ? FFFFFFFFFFFF4C0 ? main+0138 bl 01FD758C __start+0098 bl main 000000000 ? 000000000 ?
通过询问知道由于file#=17最初由于裸设备权限异常,导致无法访问,执行了delete from file$ where file#=17,然后遭遇异常又人工插入了一条file#=17的记录到file$中,但是由于不知道具体值,可能是由于部分值插入错误引起现在问题.
通过分析file$表定义
create table file$ /* file table */ ( file# number not null, /* file identifier number */ status$ number not null, /* status (see KTS.H): */ /* 1 = INVALID, 2 = AVAILABLE */ blocks number not null, /* size of file in blocks */ /* zero for bitmapped tablespaces */ ts# number, /* tablespace that owns file */ relfile# number, /* relative file number */ maxextend number, /* maximum file size */ inc number, /* increment amount */ crscnwrp number, /* creation SCN wrap */ crscnbas number, /* creation SCN base */ ownerinstance varchar("M_IDEN"), /* Owner instance name */ spare1 number, /* tablespace-relative DBA of space file header */ /* NULL for dictionary-mapped tablespaces */ spare2 number, spare3 varchar2(1000), spare4 date )
通过dump文件头(文件创建大小/SCN等),结合一些计算和经验值,获取到相关值重新插入正确值,一切恢复正常
delete from file$ where file#=17 and ts#=384; insert into sys.file$ (FILE#, STATUS$, BLOCKS, TS#, RELFILE#, MAXEXTEND, INC, CRSCNWRP, CRSCNBAS, OWNERINSTANCE, SPARE1, SPARE2, SPARE3, SPARE4) values (17,2,256000,384,17,0,0,3087,1631091037,null,71303170, null, null, null); commit;
再次提醒,file$中记录请勿人工修改,以前写过相关casefile$ 删除记录恢复(delete file$ recovery)
在win环境中数据库备份到异地,相对来说没有linux的nfs方便(可能nfs使用多了比较熟悉),以前写过一篇文章(windows rman自动备份并传输到远程服务器处理方法),通过本地备份,然后拷贝到远程共享目录实现,相对来说该方案比较繁琐,这次尝试直接备份到共享目录
1. 服务配置
oracle数据库服务和监听服务配置使用此账户的方式登录(而不是默认的本地系统账号)
2.在目标服务器中配置共享
主要两台win服务器登录用户名和密码需要一致,最好也是数据库安装用户
3.数据库备份脚本
备份脚本路径使用\\方式而不能使用别名盘符
4.数据库备份计划任务
运行任务时请使用下列用户选择ORA_DBA