数据库信息:Oracle 19.11 RAC,多租户架构,1个CDB中3个pdb
操作系统:Redhat linux 7.6
现象描述:收到短信告警无法连接数据库
分析过程:
1、检查2个节点PDB的状态
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------------------------------------- ---------- ----------
2 PDB$SEED READ ONLY NO
4 HRPDB READ WRITE NO
5 CRMPDB READ WRITE NO
6 SHPDB MOUNTED
在RAC2个节点检查 PDB-SHPDB为mounted状态,即该PDB为关闭状态。
2、检查数据库日志
2021-03-18T14:00:50.463162+08:00
ORA-1692: unable to extend lobsegment HR.SYS_LOB0000309529C00003$$ partition SYS_LOB_P1551 by 1024 in tablespace APP_TBS_01 (ospid 113819)
2021-03-18T14:00:50.514870+08:00
ORA-1652: unable to extend temp segment by 1024 in tablespace APP_TBS_01
2021-03-18T14:00:50.516911+08:00
Errors in file /oracle/app/oracle/diag/rdbms/cdb19c/cdb19c/trace/cdb19c_gen0_123153.trc:
ORA-01652: unable to extend temp segment by 1024 in tablespace APP_TBS_01
Errors in file /oracle/app/oracle/diag/rdbms/cdb19c/cdb19c/trace/cdb19c_gen0_123153.trc (incident=2280126):
ORA-1652 [] [] [] [] [] [] [] [] [] [] [] []
Incident details in: /oracle/app/oracle/diag/rdbms/cdb19c/cdb19c/incident/incdir_2280126/cdb19c_gen0_123153_i2280126.trc
2021-03-18T14:02:21.073924+08:00
USER (ospid: 123153): terminating the instance due to ORA error 1652
从日志可以看到在处理lob字段时APP_TBS_01 表空间不足,ospid: 123153 PDB被异常关闭。
日志信息与bug高度吻合
处理与建议:
1、启动PDB,表空间进行扩容后恢复正常;
2、表空间调整告警值,比如表空间使用率超过85%时告警,然后按变更流程进行扩容;
3、择机进行补丁32653669应用。
-the end-




