Quantcast
Channel: ANBOB
Browsing all 690 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Troubleshooting OGG Char datatype from mysql to ogg fill chr(0)

前几年处理过一个<当C语言的程序处理 chr(0) or ‘\0’ 时的ORA-01008 Case>故障案例, 近期又遇到一个案例是在Golden Gate同步数据时遇到的问题,发现ogg在同步时对于char类型的字段,不足指定长度时,OGG使用的是chr(0)补充, 而对于已有数据是默认chr 32(空格)补充,导致无法匹配问题。 一套mysql to...

View Article


Troubleshooting RMAN restore controlfile to NFS hang

最近遇到一个案例AIX 7.2 挂转NFS v3(源为Suse 11), RMAN restore 控制文件到NFS上 hang, 检查了AIX端mount选项和权限一切正常,在oracle用户下同样可以cp 和vi 文件,最终发现是因为rpcbind服务未启动导致,简单记录。 1, 检查NFS 版本 mount |grep nfs 2, 检查oracle执行文件权限 ls -l...

View Article


Troubleshooting JDBC(JVM) connection timeout (java.security.egd)

同事遇到的一个jdbc的应用在执行sql时出现间断性超时错误, strace时会显示 etimedout (connection timed out) 的字样, 网络抓包存在回包延迟现象,最后应用的配置了java.security.egd JVM选项, 问题得到解决, 这个问题原理不是很理解, 也需要是JVM 生成随机端口调用时出现了延迟(just I guess). 简单记录 Avoiding...

View Article

openGauss 2.0 企业版单机最简安装小测

对于我这从事10余年的oracle dba从未像今年这样感觉到压力, 国产开源数据库铺天盖地的宣传,我依旧建议不要满目随大流式换库,因为数据库迁移经验对于不同的业务场景并非可以完全复制,昨天想装个openGauss小测一下,发现2.0新鲜发布, OpenGauss社区可以下载安装介质,openGauss内核源自PostgreSQL 9.2,是一款开源关系型数据库管理系统,采用木兰宽松许可证v2发行。...

View Article

Query dba_autotask_client slow?

最近在整理巡检脚本时,发现在执行select client_name,status from dba_autotask_client;时耗时几十秒, 该SQL只是想检查数据库级的自动任务是否启用(如自动收集统计信息), 返回的记录也并不多,只关心状态,如下输出. SQL> select client_name,status from dba_autotask_client;...

View Article


Image may be NSFW.
Clik here to view.

案例: 11g R2(11.2.0.4) RAC addnode on RHEL7(Linux7)问题小结

最近一例在11.2.0.4 2NODES RAC on linux7 增加节点时不是很顺利,此版本是ORACLE的认证版本但是还是兼容性还不是那么顺滑,9年前分享过在linux6上addnode还相对顺利《Oracle 11g R2 RAC addnode (增加RAC节点) 实践和注意事项》。 遇到的问题也较多涉及IB,网络,bug, 损坏,补丁等,简单记录。 1, IB心跳网不通...

View Article

Bugs fixed in each 19.0.0.0.0 Release Update and Release Update...

Bugs fixed in each 19.0.0.0.0 Release Update and Release Update Revision This document lists the non-security important bugs(NOT ALL bug fixes) fixed in each 19.0.0.0.0 Release Update and Release...

View Article

Exadata X7, RAC gipcd 无法启动,因为Network socket files

环境Oracle Exadata Machine(x7)环境, 节点1异常重启后无法启动,另他节点运行正常,从日志显示是gipc进程启动失败,清理network socket 文件启动成功。 # GI alert log 2021-05-07 11:01:47.326 [OHASD(76631)]CRS-0714: Oracle Clusterware Release 18.0.0.0.0....

View Article


Alert: Linux平台使用udev绑定ASM存储时,频繁的systemd-udevd导致CPU使用率高

最近查询时发现一套Linux(Suse Linux 12)平台上的Oracle主机CPU使用率偏高,该数据库并不繁忙,从top中发现大量的systemd-udevd 进程,是CPU的主要花费进程, 该现象并不局限于Suse,RHEL和OEL同样可能存在这些现象, 通常是当udev加载时,即使系统当前并无任何磁盘存储的调整,也会存在该现象。 Tasks: 5488 total, 95 running,...

View Article


Linux Kdump for system panics

The kdump procedure The received warning means the kdump operation might fail and the crashdump parameter should be configured correctly. This is the procedure of kdumping: 1. The normal kernel is...

View Article

LMSn not running in RT (real time) mode Oracle 19c RAC?

Oracle 希望在数据库主机CPU使用率枯竭时,尽可能让核心的几个后台进程可以最大优先级获取CPU, 虽然CPU过高会导致I/O 响应时间变长和网络延迟增加,也会间接影响数据的整体性能。从oracle 10g开始是有隐藏参数_high_priority_processes控制哪些参数是更高优先级,在19c参数_highest_priority_processes控制最高优先级。在 10.2...

View Article

19c(19.4) RAC crash CSSD with ASSERT clsssc.c error On LinuxONE

这是一套Oracle 19.4 的RAC 环境,硬件是IBM 大机LinuxONE(Zlinux), 节点出几次重启目前已确认是由于oracle代码级bug,cssd错误的Reference count 记录为0,导致再次ASSERT资源时异常终止。前段时间有朋友说有一家著名的第三方公司在到处宣传19.4是目前ORACLE 19C里较稳定的版本,如当前的19.8测出了2个bug,...

View Article

Transportable Tablespace Failed with ORA-39360(TSLTZ datatype), How to...

前几日在做oracle 迁移升级使用FTTS 从11.2.0.4 升级到19c pdb时,因为对象包含数据类型TimeStamp with Local Time Zone(TSLTZ ), 导入matadata过程中报错ORA-39360而终止,报错如下: Full Transportable tablespace import fails with: ORA-39360: Table...

View Article


OGG(12.3) Extract long time lag after Oracle RAC a instance Crash

Oracle 12c RAC 1个实例因硬件原因突然crash,  另一实例上的goldengate  Extract 进程Lag At Chkpt 持续增加,read checkpoint并不动,开始是因为归档日志被rman备份任务备份后删除,但restore 归档日志从Recovery Checkpoint到当前确认都存在后依旧hang,  清除了BR...

View Article

Alert: User-Defined Types (UDTs) Columns auto drop without error if to drop...

对于UDTs自定义数据库类型是oracle扩展的数据类型,对一个对象存储更多的信息,在oracle8版本就存在, 可以在创建表对象用于列类型,前段在一套库迁移时遇到个问题,应用软件使用了ArcGIS 空间数据库组件, 对应数据库中的SDE schema用户,应用部署希望drop sde用户使用软件安装重新生成,但是这会导致其它用户的table使用了该用户的类型导致数据丢失。下面是测试 SQL>...

View Article


adrci show ‘No ADR base is set‘ 解决办法

oracle 11g后引入adrci 仓库管理trace文件,12c后更把把GI和DB全转到了adrci, 我还是比较喜欢用它小工具,今天一套友商安装的数据库使用adrci 查看日志提示No ADR base is set, 检查了$ORACLE_BASE环境变量也存在,同时也未使用symbolic links 目录,临时解决当然可以使用adrci中SET BASE ADR_BASE...

View Article

Troubleshooting ORA-15028 during drop archivelog failed in ASM

前几天朋友问无论使用asmcmd rm还是rman 在删除一个归档日志时,提示ora-15028 文件正在被访问,分析是O002进程占用,该进程是oracle instance修改asm instance metadata的进程, 经测试是非致命进程,可以尝试kill, 不必重启instance. 下面是诊断方法。 rman drop archivelog 或asmcmd> rm...

View Article


Troubleshooting ORA-32000 when modify ASM spfile (oracle 19.11)

昨天在配置ASM instance参数时发现参数无法修改,提示ora-32000,即使是grid sysasm, 环境是新安装的oracle RAC,最近刚安装的19c 11RU,也并非是19.11 RU的新特性,主要还是安装过程中出过问题AUTOupgrade 失败,手动处理,没有更新集群状态。简单记录 grid# sqlplus / as sysasm SQL>alter system...

View Article

Know more about PGA_AGGREGATE_LIMIT 12c 19c

Prior to 12c,PGA_AGGREGATE_TARGET was the Parameter used to control amount of memory allocated to User Processes(mainly work areas). However PGA_AGGREGATE_TARGET is a soft target and not a hard limit....

View Article

Troubleshooting: Oracle 19c wait event ‘latch: MGA shared context root latch’

最近一套客户环境从12C 升级19c(19.9)后在我们的监控上Wait class “Concurrency”等待告警进入TOP,  但是从V$SESSION和ASH view中的活动(active)的会话并未显示这么严重等待, AWR的top event中同样也不存在, 但是算在了Wait Classes by Total Wait Time和Background Wait...

View Article
Browsing all 690 articles
Browse latest View live