Troubleshooting ORA-600 issue related to memory curruted when using DBLINK
前段时间的一个案例,突然好几个数据库出现了ora-600 坏块相关的错误, 但是幸运的是使用rman, dbv, analyze table validate structure 都没有实际的坏块, 也就是说很可能只是出现在memroy 中,目标和源都是11.2.0.3.7 2nodes RAC, 最终是确认了为Procedure中使用了DBLINK触发,local db HPUX, remote...
View ArticleTroubleshooting 12C node2 CRS start fail with ORA-12547 and ORA-15077 in Flex...
Flex ASM 在12c以前的版本数据库实例使用操作系统认证连接ASM实例,因为ASM CLIENT(DB INSTANCE)和ASM Server总是在同一个主机上, 从12c版本开始引入的FLEX ASM架构允许数据库实例可以和ASM运行在不同的主机中, 使用FLEX ASM user password文件认证, ASM 密码文件存储在ASM DISKGROUP中, 同时在创建Flex...
View Article浅谈Oracle Database 19c
Oracle Database 19c是大多数客户将其升级目标定位的版本,Oracle已将稳定性作为此版本的核心目标。 在Oracle Database 19c中,开发人员专注于修复已知问题,而不是添加新功能。 这导致了数百人年的测试和数千台服务器每天24小时运行测试。这种对稳定性的关注远不止核心数据库功能; 它还涵盖了从安装程序到组成产品的实用程序和工具的技术堆栈的所有方面。...
View ArticleOracle19c新特性: 自动索引(Automatic indexing)
在上一篇浅谈Oracle Database 19c中记录了Oracle Database 19c中引入了自动索引,它不断评估执行的SQL和基础表,以确定要创建哪些索引以及可能删除哪些索引。 它通过专家系统完成此任务,而且是一位7*24小时一直在工作的“专家”。 如何工作 Automatic index是有索引管理后台进程TASK调用, 可以自动的create, rebuild , drop...
View ArticleOracle19c新特性: hint report
在oracle 19c引入了新的format option “hint report”, hint report 显示我们sql文本中使用的hint, report body中会显示hint对应查询块hint是否使用, display_xplan的TYPICAL默认只是显示无效的hint. sql hint是从oracle 7时引入, 用于干涉CBO/RBO优化化器指定执行计划的一种手段,...
View ArticleAlert : 当在AIX 7.1/7.2使用AIX Flash Cache 读写/dev/pfcdd0时System crashes
当前AXI 7.1 和7.2 应该是IBM服务期内的主流操作系统版本, AIX Flash cache应该是AIX 7.2时引入,后期又在AIX v7.1 tl4 SP2中支持。Flash Cache也称为数据的服务器端缓存。它允许LPAR使用ssd或Flash storage作为只读cache,以提高旋转磁盘的读取性能。 Flash cache需要两个组件: 1,Cache Management...
View ArticleHow to release still “killed“ status session in v$session? (释放killed的session)...
How to release still “killed“ status session in v$session? (释放killed的session) (一) How to release still “killed“ status session in v$session? (释放killed的session) (二) How to release still “killed“ status...
View ArticleOracle12c R2注意事项: 大量crsctl.bin进程cpu使用率高,等待crs call completion
前不久遇到的一个问题,一套12.2的RAC环境, CPU使用率高,使用top可以看到有大量crsctl.bin进程导致, sys cpu占用了大部分, 如果从数据库内查看等待会伴随着wait event “crs call completion”, 有时还会级联堵塞出现wait event “library cache lock”。crs call completion是当db instance...
View ArticleOracle12c R2注意事项: 多个”/usr/bin/ssh -o StrictHostKeyChecking… /sbin/ifconfig...
12c R2 RAC环境下又一个问题特性,同样会导致cpu使用率高。 $ ps -ef|grep ifconfig root 19141 1 0 06:25 ? 00:00:00 sh -c /bin/su -l grid -c "/usr/bin/ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=5 ANBOB2...
View ArticleOracle12c R2注意事项: SCM0进程的CPU使用率高
本篇是12c版本中cpu high的第三种情况: scm0进程占用较高的cpu使用率。前两篇如下 Oracle12c R2注意事项: 大量crsctl.bin进程cpu使用率高,等待crs call completion Oracle12c R2注意事项: 多个”/usr/bin/ssh -o StrictHostKeyChecking… /sbin/ifconfig -a”进程导到CPU使用高...
View Articlequery dba_free_space(tablespace usage) slow after upgrade 12c R2
前不久有个下线EXADATA并同时从11g R2 升级12C R2的案例,反应升级12c后明显感觉原来查询表空间使用率的脚本时间比升级前长了很多, 要花好几分钟, 这种情况时通常是因为recyclebin$回收站中的对象太多,清理回收站解决, 但是这次的回收站并无多少对象(<100), 这是一个50 TB左右的数据库,有350个左右的数据文件。...
View ArticleTroubleshooting Internal error ora-600 [kxspoac : EXL 1] after enable 10503...
简单记录一下这个内部错误 ora-600 [kxspoac : EXL 1], 环境11.2.0.3 RAC on hpux ia, 这是一个并行查询相关的错误,当启了10503 event后并行查询带绑定变量的SQL时有可能会出现此错误。 adrci> show incident -all 1152791 ORA 600 [kxspoac : EXL 1] 2019-03-24...
View ArticleMySQL 5.7 使用diagnostics() Procedure生成”AWR” Report
Oracle Database有强大的AWR报告分析整体的服务器性能问题, 但是MySQL之前是没有的,需要自定义大量的脚本生成监控数据, 从MySQL 5.7 (5.7.9)开始,可以使用sys.diagnostics()存储过程依赖于PERFORMANCE_SCHEMA,生成类似于Oracle AWR一样的MySQL性能报告。 官方文档更多看这里 This procedure disables...
View ArticleOracle12c R2注意事项: Active DataGuard logon fail with ORA-00604& ORA-04024
这是一套12c R2 4-nodes Oracle RAC on RHEL 7的环境,已安装0417 RU。 该库有一套Phyical DataGard, 同时也是GoldenGate的target端,存在一个replicat 进程同步数据。 一日收到该数据库归档空间(in ASM) DiskgrouP 使用率告警,后分析刚上线没多久就趟了一个雷。这里简单记录过程。 — DB alert log...
View ArticleTroubleshooting Out-Of-Memory(OOM) killer db crash when memory exhausted
# db alert log Warning: VKTM detected a time drift. Time drifts can result in an unexpected behavior such as time-outs. Please check trace file for more details. Tue Apr 23 08:54:27 2019 WARNING: Heavy...
View ArticleTroubleshooting sqlplus logon instance slow and Swap usage high even memory...
Some time we will face login to the local oracle database instance using sqlplus “/ as sysdba” may take 1 minute or even longer, This is usually not normal and needs to be diagnosed for the reason....
View ArticleWait Event: buffer deadlock
When I was analyzing a database performance case what many session hang in 11.2.0.4 RAC Aactive dataguard, I saw a large number of foreground sessions waiting for this event (buffer deadlock) and...
View ArticleScripts: Tablespace Report for Oracle 12c Multitenant Database
You can use this SQL script to report tablespace space details in 12c Multitenant database. -- -- file: tablespace_rpt12.sql -- purpose: To report tablespaces for 12c+ Multitenant database -- author:...
View ArticleTroubleshooting ORA-600 [kcrfw_search_blklctn: Dead loop] and more about NSA...
Format: ORA-600 [kcrfw_search_blklctn: Dead loop] [a] [b] [c] [d] [e], in Oracle Dataguard 11.2.0.3 RAC on AIX . This error will have no effect other than a small delay to the DataGuard redo translate....
View ArticleTroubleshooting kernel: EXT4-fs warning (device dm-0): ext4_dx_add_entry:...
The following error message is displayed in the database host operating system log of a customer today. kernel: EXT4-fs warning (device dm-0): ext4_dx_add_entry: Directory index full! The ‘directory...
View Article