标签云
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,879)
- DB2 (22)
- MySQL (82)
- Oracle (1,705)
- 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备份恢复 (659)
- 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)
-
最近发表
- 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
- Patch_SCN快速修复ORA-01555数据库open故障
- 快速处理 ORA-01210: data file header is media corrupt 故障
分类目录归档:ORA-xxxxx
12c启动报kcratr_nab_less_than_odr
ORA-600 kcratr_nab_less_than_odr这个错误,以前的认知里面,主要是11.2.0.1中比较常见,这次在12c中见到了,记录下
数据库版本
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options. Windows NT Version V6.1
数据库启动报错
Fri Apr 30 23:11:16 2021 Completed redo scan read 20 KB redo, 26 data blocks need recovery Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\orcl12c\orcl12c\trace\orcl12c_ora_5744.trc (incident=28863): ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [6872], [23015], [23017], [], [], [], [], [], [], [] Incident details in: D:\APP\ADMINISTRATOR\diag\rdbms\orcl12c\orcl12c\incident\incdir_28863\orcl12c_ora_5744_i28863.trc Use ADRCI or Support Workbench to package the incident. See Note 411.1 at My Oracle Support for error and packaging details. Fri Apr 30 23:11:17 2021 Slave encountered ORA-10388 exception during crash recovery Fri Apr 30 23:11:17 2021 Slave encountered ORA-10388 exception during crash recovery Fri Apr 30 23:11:17 2021 Aborting crash recovery due to error 600 Fri Apr 30 23:11:17 2021 Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\orcl12c\orcl12c\trace\orcl12c_ora_5744.trc: ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [6872], [23015], [23017], [], [], [], [], [], [], [] Fri Apr 30 23:11:17 2021 Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\orcl12c\orcl12c\trace\orcl12c_ora_5744.trc: ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [6872], [23015], [23017], [], [], [], [], [], [], [] ORA-600 signalled during: alter database open...
这个故障处理比较简单参考:ORA-600 kcratr_nab_less_than_odr故障解决
KGL-heap-size-exceeded报错
alert日志报错
2021-04-19T15:06:08.208159+08:00
Memory Notification: Library Cache Object loaded into SGA
Heap size 512000K exceeds notification threshold (51200K)
Details in trace file /mnt/app/diag/rdbms/xff/xff/trace/xff_ora_12300.trc
2021-04-19T15:06:08.208212+08:00
KGL object name :select DISTINCT(BEGIN_TIME) beginTime,
MILE mile,
END_TIME endTime,
LAST_TIME lastTime,
BEGIN_TIME beginTime2,
END_TIME endTime2,
TEMPERATURE1 temperature1,
TEMPERATURE2 temperature2,
TEMPERATURE3 temperature3,
TEMPERATURE4 temperature4,
LATITUDE latitude,
LONGITUDE longitude
from T_XIFENFEI
where VEHICLE_ID = :1
and END_TIME is not null
and BEGIN_TIME BETWEEN TO_DATE(:2 , 'yyyy-MM-dd hh24:mi:ss') and TO_DATE(:3 , 'yyyy-MM-dd hh24
Errors in file /mnt/app/diag/rdbms/xff/xff/trace/xff_ora_12300.trc (incident=162089):
ORA-00600: internal error code, arguments: [KGL-heap-size-exceeded],
[0x1C4782708], [0], [524288008], [], [], [], [], [], [], [], []
Incident details in: /mnt/app/diag/rdbms/xff/xff/incident/incdir_162089/xff_ora_12300_i162089.trc
Use ADRCI or Support Workbench to package the incident.
数据库版本信息
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production Build label: RDBMS_12.2.0.1.0_LINUX.X64_170125 ORACLE_HOME: /mnt/app/product/12.2.0/dbhome_1 System name: Linux Node name: izbp1399kdj96ra6bjtwyxz Release: 3.10.0-693.2.2.el7.x86_64 Version: #1 SMP Tue Sep 12 22:26:13 UTC 2017 Machine: x86_64
Call Stack信息
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
-------------------- -------- -------------------- ----------------------------
ksedst()+119 call kgdsdst() 7FFD6CB9A258 000000002
7FFD6CB7BCC0 ? 7FFD6CB7BDD8 ?
000000000 000000082 ?
dbkedDefDump()+1200 call ksedst() 000000000 000000002 ?
7FFD6CB7BCC0 ? 7FFD6CB7BDD8 ?
000000000 ? 000000082 ?
ksedmp()+259 call dbkedDefDump() 000000003 000000002
7FFD6CB7BCC0 ? 7FFD6CB7BDD8 ?
000000000 ? 000000082 ?
dbgexPhaseII()+2130 call ksedmp() 0000003EB 000000002 ?
7FFD6CB7BCC0 ? 7FFD6CB7BDD8 ?
000000000 ? 000000082 ?
dbgexExplicitEndInc call dbgexPhaseII() 7F4853DB46C0 7F4853DB77A0
()+602 7FFD6CB9E388 7FFD6CB7BDD8 ?
000000000 ? 000000082 ?
dbgeEndDDEInvocatio call dbgexExplicitEndInc 7F4853DB46C0 7F4853DB77A0
nImpl()+658 () 7FFD6CB9E388 ? 7FFD6CB7BDD8 ?
000000000 ? 000000082 ?
kglLargeHeapWarning call dbgeEndDDEInvocatio 7F4853DB46C0 7F4853DB77A0
()+1544 nImpl() 7F4853DF49A0 7FFD6CB7BDD8 ?
7F4853DF49A0 000000082 ?
kglHeapAllocCbk()+2 call kglLargeHeapWarning 7F4853DF49A0 ? 1C4782708 ?
27 () 000000000 01F400060 ?
0B6DADD88 000000082 ?
kghalp()+1086 call kglHeapAllocCbk() 7F4853DF49A0 ? 1C4782708 ?
2EE171B70 01F400060 ?
000000058 ? 000000082 ?
kkocsRegBindEqvCtxC call kghalp() 7F4853DF49A0 ? 0B6DADD88 ?
ommon()+145 2EE171B70 ? 000000001 ?
000000058 ? 0119E7860 ?
kkocsAddBeElem()+81 call kkocsRegBindEqvCtxC 7F4853DF49A0 ? 7FFD6CB9F460 ?
1 ommon() 2EE171B70 ? 000000001 ?
000000002 ? 0119E7860 ?
kkocsProcBSensPredC call kkocsAddBeElem() 7F484E2EF998 ? 7F484E2EFAC8 ?
B()+431 0BBED4798 ? 209DFEA60 ?
000000002 ? 0119E7860 ?
qksopVisitPreds()+5 call kkocsProcBSensPredC 7F484E2EF998 ? 7FFD6CB9F640 ?
39 B() 0BBED4798 ? 209DFEA60 ?
000000002 ? 0119E7860 ?
kkocsBuildBESelCtx( call qksopVisitPreds() 7F484E2EF998 ? 7FFD6CB9F640 ?
)+153 0BBED4798 ? 209DFEA60 ?
000000002 ? 0119E7860 ?
kkocsBindSensCheck( call kkocsBuildBESelCtx( 7F484E2EF998 ? 7FFD6CB9F640 ?
)+585 ) 0BBED4798 ? 209DFEA60 ?
000000002 ? 0119E7860 ?
kkoipt()+901 call kkocsBindSensCheck( 7F484E2EFA20 ? 7FFD6CB9F640 ?
) 0BBED4798 ? 209DFEA60 ?
000000002 ? 0119E7860 ?
kkoqbc()+4677 call kkoipt() 7F484E31F1E0 ? 7FFD6CB9F640 ?
0BBED4798 ? 209DFEA60 ?
000000002 ? 000000000
apakkoqb()+183 call kkoqbc() 7F484E31F1E0 ? 7F4853CC2958 ?
0BBED4798 ? 209DFEA60 ?
000000001 000000000 ?
apaqbdDescendents() call apakkoqb() 7FFD6CBA1870 ? 000000EB5 ?
+503 0BBED4C18 ? 209DFEA60 ?
000000001 ? 000000000 ?
apaqbd()+136 call apaqbdDescendents() 7FFD6CBA1870 ? 7F4853CC2958 ?
0BBED4C18 ? 209DFEA60 ?
000000001 ? 000000000 ?
apadrv()+1228 call apaqbd() 7FFD6CBA1870 ? 7F4853CC2958 ?
0BBED4C18 ? 209DFEA60 ?
000000001 ? 000000000 ?
opitca()+2139 call apadrv() 0BBED4C18 ? 7F4853CC2958 ?
0BBED4C18 ? 209DFEA60 ?
000000001 ? 000000000 ?
kksFullTypeCheck()+ call opitca() 7F484E2F2A08 0BBED4C18
86 7FFD6CBA42F0 209DFEA60 ?
000000001 ? 000000000 ?
rpiswu2()+627 call kksFullTypeCheck() 7FFD6CBA2FF8 ? 0BBED4C18 ?
7FFD6CBA42F0 ? 209DFEA60 ?
000000001 ? 000000000 ?
kksLoadChild()+8003 call rpiswu2() 7FFD6CBA2FF8 ? 0BBED4C18 ?
7FFD6CBA42F0 ? 209DFEA60 ?
7FFD6CBA24F8 ? 00000006A ?
kxsGetRuntimeLock() call kksLoadChild() 7F4853DF49A0 0BBED4C18 ?
+2029 7FFD6CBA42F0 ? 209DFEA60 ?
7FFD6CBA24F8 ? 00000006A ?
kksfbc()+15091 call kxsGetRuntimeLock() 7F4853DF49A0 7F484E2F2A08
7FFD6CBA4270 209DFEA60 ?
7FFD6CBA24F8 ? 1C4782708
opiexe()+2932 call kksfbc() 7F484E2F2A08 7F484E2F2A08 ?
7FFD6CBA4270 ? 209DFEA60 ?
7FFD6CBA24F8 ? 1C4782708 ?
kpoal8()+2679 call opiexe() 000000049 7F484E2F2A08 ?
7FFD6CBA58F0 209DFEA60 ?
7FFD6CBA24F8 ? 1C4782708 ?
opiodr()+1229 call kpoal8() 00000005E 000000026
7FFD6CBA9300 209DFEA60 ?
7FFD6CBA24F8 ? 1C4782708 ?
ttcpip()+1257 call opiodr() 00000005E 000000026
7FFD6CBA9300 000000000
7FFD6CBA24F8 ? 1C4782708 ?
opitsk()+1940 call ttcpip() 7F4853E11750 ? 000000026 ?
7FFD6CBA9300 00000017D ?
7FFD6CBA8D50 7FFD6CBA955C
opiino()+941 call opitsk() 000000000 000000000
7FFD6CBA9300 ? 00000017D ?
7FFD6CBA8D50 ? 7FFD6CBA955C ?
opiodr()+1229 call opiino() 00000003C 000000004
7FFD6CBAAA18 00000017D ?
7FFD6CBA8D50 ? 7FFD6CBA955C ?
opidrv()+1021 call opiodr() 00000003C 000000004
7FFD6CBAAA18 000000000
7FFD6CBA8D50 ? 7FFD6CBA955C ?
sou2o()+145 call opidrv() 00000003C 000000004
7FFD6CBAAA18 000000000 ?
7FFD6CBA8D50 ? 7FFD6CBA955C ?
opimai_real()+455 call sou2o() 7FFD6CBAA9F0 00000003C
000000004 7FFD6CBAAA18
7FFD6CBA8D50 ? 7FFD6CBA955C ?
ssthrdmain()+417 call opimai_real() 000000000 7FFD6CBAAD00
000000004 ? 7FFD6CBAAA18 ?
7FFD6CBA8D50 ? 7FFD6CBA955C ?
main()+262 call ssthrdmain() 000000000 000000002
7FFD6CBAAD00 000000001
000000000 7FFD6CBA955C ?
__libc_start_main() call main() 000000000 7FFD6CBAAF38
+245 7FFD6CBAAD00 ? 000000001 ?
000000000 ? 7FFD6CBA955C ?
_start()+41 call __libc_start_main() 000D04D40 000000002
7FFD6CBAAF38 7F484F241555 ?
000000000 ? 7FFD6CBA955C ?
--------------------- Binary Stack Dump ---------------------
根据官方描述,该问题是由于Bug 20917487 – CORRUPT KKOCS STRUCTURES AFTER PARTIAL PURGE OF CURSOR HEAP引起
解决方案:
1. 升级数据库到19.1+版本
2. 应用 Patch 20917487
3. Disable adaptive cursor sharing
alter system set "_optimizer_adaptive_cursor_sharing" = false; alter system set "_optimizer_extended_cursor_sharing_rel" = "none";
4. 通过隐含参数设置一个足够大的值
alter system set "_kgl_large_heap_warning_threshold"=83886080 scope=spfile; --一个足够大的值 --or alter system set "_kgl_large_heap_warning_threshold"=0 scope=spfile; alter system set "_kgl_large_heap_assert_threshold"=0 scope=spfile; shutdown immediate startup
参考文档:
ORA-600 [KGL-heap-size-exceeded] Errors in the Alert Log (Doc ID 2628072.1)
Memory Notification: Library Cache Object loaded into SGA / ORA-600 [KGL-heap-size-exceeded] (Doc ID 330239.1)
ORA-21779错误处理
有客户win 10.2.0.4的rac,查看alert日志发现如下错误
Mon May 04 17:25:18 2020 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl2_smon_2548.trc: ORA-21779: 持续时间不活动 ORA-06512: 在 line 1 Mon May 04 17:25:28 2020 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl2_smon_2548.trc: ORA-21779: 持续时间不活动 ORA-06512: 在 line 1 Mon May 04 17:25:38 2020 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl2_smon_2548.trc: ORA-21779: 持续时间不活动 ORA-06512: 在 line 1 Mon May 04 17:25:39 2020 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl2_smon_2548.trc: ORA-21779: 持续时间不活动 ORA-06512: 在 line 1
查看对应trace
Dump file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl2_smon_2548.trc Sat Aug 31 15:02:39 2019 ORACLE V10.2.0.4.0 - 64bit Production vsnsta=0 vsnsql=14 vsnxtr=3 Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP, Data Mining and Real Application Testing options Windows Server 2003 Version V5.2 Service Pack 2 CPU : 32 - type 8664, 2 Physical Cores Process Affinity : 0x0000000000000000 Memory (Avail/Total): Ph:17543M/32742M, Ph+PgF:19550M/33833M ………… *** 2020-05-04 18:40:35.687 SMON: following errors trapped and ignored: ORA-21779: 持续时间不活动 ORA-06512: 在 line 1 *** 2020-05-04 18:40:45.734 Drop transient type: SYSTPzpEA6olJSImGURLObkiE6w== *** 2020-05-04 18:40:45.734 SMON: following errors trapped and ignored: ORA-21779: 持续时间不活动 ORA-06512: 在 line 1 *** 2020-05-04 18:40:55.812 Drop transient type: SYSTPzpEA6olJSImGURLObkiE6w== *** 2020-05-04 18:40:55.812 SMON: following errors trapped and ignored: ORA-21779: 持续时间不活动 ORA-06512: 在 line 1 *** 2020-05-04 18:41:05.875 Drop transient type: SYSTPzpEA6olJSImGURLObkiE6w== *** 2020-05-04 18:41:05.875 SMON: following errors trapped and ignored: ORA-21779: 持续时间不活动 ORA-06512: 在 line 1
出现该问题是由于oracle的smon进程无法清理掉 transient types,从而出现该问题,根据官方的说法,这个错误是不会影响数据库正常使用,但是可以通过以下方法暂时规避这种错误:
1)通过设置alter system set events ’22834 trace name context forever, level 1′禁止smon清理transient types,从而来规避该错误,但是可能会引起transient types对象越来越多,当然你可以通过以下sql查询出来
select o.* from obj$ o, type$ t where o.oid$ = t.tvoid and bitand(t.properties,8388608) = 8388608 and (sysdate-o.ctime) > 0.0007;
然后删除掉相关记录DROP TYPE “SYSTPf/r2wN4keX7gQKjA3AFMSw==” FORCE;【这个删除不是必须的】
2) flush shared_pool也可以临时规避这个问题
3) 重启数据库,可以暂时规避
具体参考:
SMON: Following Errors Trapped And Ignored ORA-21779 (Doc ID 988663.1)
Receiving ORA-21780 Continuously in the Alert Log and SMON Trace Reports “Drop transient type”. (Doc ID 1081950.1)

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

