![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Oracle日常运维
挠背小能手
这个作者很懒,什么都没留下…
展开
-
CLSRSC-400: A system reboot is required to continue installing
参照ALERT: root.sh Fails With “CLSRSC-400” While Installing GI 12.2.0.1 on RHEL or OL with RedHat Compatible Kernel (RHCK) 7.3 (Doc ID 2284463.1)的处理方法,在安装GI的时候采用:/gridSetup.sh -applyOneOffs patch location的方式先更新软件在安装。后续再陆续更新其他补丁集,问题解决!后续运行root.sh脚本成功。原创 2024-04-18 19:41:44 · 518 阅读 · 0 评论 -
INS-06003错误处理
麒麟V10操作系统部署Oracle RAC 19C时遇到的INS-06003报错问题处理方法原创 2024-01-19 18:03:26 · 972 阅读 · 0 评论 -
麒麟V10上安装Oracle 19C碰到的一些坑
麒麟V10上安装Oracle 19C碰到的一些坑原创 2024-01-15 10:48:11 · 1252 阅读 · 0 评论 -
impdp导出出现ORA-39155、ORA-48128、ORA-19505、ORA-27037错误
impdp导出出现ORA-39155、ORA-48128、ORA-19505、ORA-27037错误原创 2023-11-16 14:28:31 · 658 阅读 · 0 评论 -
ORA-19809 ORA-19804问题处理
ORA-19809、ORA-19804问题处理原创 2023-10-20 09:12:04 · 905 阅读 · 0 评论 -
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired原创 2023-07-29 11:53:10 · 763 阅读 · 0 评论 -
DIM-00019、Unable to OpenSCManager: err=5、DBT-50000
windows 2016上安装oracle 19c的那些坑原创 2023-06-26 12:33:02 · 1440 阅读 · 0 评论 -
Oracle SQLTUNING优化SQL
Oracle SQLTUNING优化SQL原创 2023-05-24 17:43:47 · 1502 阅读 · 0 评论 -
Oracle大事务回滚
Oracle大事务回滚相关脚本原创 2023-05-22 16:03:29 · 1252 阅读 · 0 评论 -
Oracle 11.2.0.4安装SPU
Oracle 11.2.0.4安装SPU补丁原创 2023-05-11 22:10:55 · 822 阅读 · 0 评论 -
ins_emagent.mk:113: warning: overriding recipe for target `nmosudo‘
ins_emagent.mk:113: warning: overriding recipe for target `nmosudo'原创 2023-05-11 22:11:04 · 386 阅读 · 0 评论 -
Oracle DataGuard奇怪的ORA-16494错误
Oracle DataGuard奇怪的ORA-16494错误原创 2023-05-08 22:56:36 · 502 阅读 · 0 评论 -
Oracle闪回空间满处理Unable to allocate flashback log of
Unable to allocate flashback log of原创 2023-04-16 17:32:18 · 620 阅读 · 0 评论 -
Oracle RAC集群管理常用命令
Oracle RAC集群管理常用命令原创 2023-04-12 11:12:02 · 1978 阅读 · 0 评论 -
Oracle普通heap表在线重定义分区表
Oracle普通heap表在线重定义分区表原创 2023-01-30 15:51:24 · 235 阅读 · 0 评论 -
Oracle DataGuard自动启动
Oracle DataGuard配置自启动原创 2023-01-30 11:31:56 · 508 阅读 · 0 评论 -
backup as copy移动数据文件
BACKUP AS COPY移动数据文件原创 2023-01-30 11:22:15 · 307 阅读 · 0 评论 -
Oracle 12c Failed Logon Delay等待事件
Failed Logon Delay等待事件原创 2023-01-30 10:55:26 · 877 阅读 · 0 评论 -
IMP-00403问题处理
IMP-00403问题处理原创 2022-10-31 12:09:50 · 2609 阅读 · 1 评论 -
Oracle安装出现CreateFile() error 32 when trying set file time
Oracle安装出现CreateFile() error 32 when trying set file time原创 2022-08-31 19:51:20 · 2213 阅读 · 0 评论 -
Oracle绑定SQL执行计划
Oracle绑定SQL执行计划原创 2022-08-27 10:49:32 · 2060 阅读 · 0 评论 -
Oracle闪回查询出现ORA-01466: unable to read data - table definition has changed报错
ORA-01466: unable to read data - table definition has changed原创 2022-08-11 17:28:51 · 3906 阅读 · 0 评论 -
Oracle 18C RAC安装出现Error in invoking target ‘irman ioracle idrdactl idrdalsnr idrdaproc‘ of makefile
Error in invoking target 'irman ioracle idrdactl idrdalsnr idrdaproc' of makefile原创 2022-08-11 16:53:14 · 830 阅读 · 0 评论 -
CPU负载很低,loadavg很高处理方法
CPU空闲但是load average很高原创 2022-07-01 10:35:36 · 2042 阅读 · 0 评论 -
crf*.bdb文件过大问题处理
crf*.bdb文件过大处理方法原创 2022-06-20 08:42:30 · 525 阅读 · 0 评论 -
Error 4 opening dom ASM/Self in 0x8283c00
RHEL7.9上安装Oracle RAC 19.3.0.0,在第二个节点运行root.sh脚本时出现Error 4 opening dom ASM/Self in 0x8283c00原创 2022-06-19 11:15:53 · 441 阅读 · 0 评论 -
RMAN-06091: no channel allocated for maintenance (of an appropriate type)处理方法
Oracle 19C,rman备份后出现RMAN-06091: no channel allocated for maintenance (of an appropriate type)原创 2022-06-17 15:31:08 · 556 阅读 · 0 评论 -
0509-130 Symbol resolution failed for /oracle/app/oracle/12.2.0/db_1/lib/libons.so问题处理
在AIX 7.2上安装Oracle 12.2后sqlplus启动不了,出现0509-130 Symbol resolution failed for /oracle/app/oracle/12.2.0/db_1/lib/libons.so because错误操作系统版本启动sqlplus出现报错该问题是由于iocp参数果然没有改,检查iocp参数查询得知iocp参数为Defined,要将其改成 available该参数要重启生效重启后检查iocp参数尝试启动sqlplus至此,问题解决...原创 2022-06-08 22:19:12 · 428 阅读 · 0 评论 -
Oracle闪回方式找回存储过程
1、检查当前用户SQL> show userUSER is “RAY”2、创建存储过程create or replace procedure proc_test1 isbegin dbms_output.put_line('hello'); end;/3、模拟误操作覆盖存储过程create or replace procedure proc_test1 isbegin dbms_output.put_line('helloworld'); end;/4、查看用户名原创 2022-05-12 10:09:06 · 1092 阅读 · 0 评论 -
Oracle逻辑同步ORA-02264:name already used by an existing constraint
Oracle数据库逻辑同步,目标端出现ORA-02264:name already used by an existing constraint报错目标端在创建SYS_C0023990约束名的时候,该约束名已经存在,此时需要手工介入处理,先检查该约束的类型通过dba_constraints看到,约束类型是C,即检查性约束,修改检查性约束名称可通过alter table 表名 enable/disable/dropconstraint 约束名 语句直接改名删除约束后,再通过alter table ad原创 2022-05-09 10:16:54 · 3974 阅读 · 0 评论 -
CLSRSC-614: failed to get the list of configured diskgroups
RHEL 7.6上安装Oracle RAC 12c,运行root.sh脚本的时候出现CLSRSC-614: failed to get the list of configured diskgroups错误。CRS-2672: Attempting to start 'ora.OCR.dg' on 'rac01'CRS-2676: Start of 'ora.OCR.dg' on 'rac01' succeeded2022/04/27 19:58:32 CLSRSC-594: Executing in原创 2022-04-28 08:41:09 · 463 阅读 · 0 评论 -
ORA-01686: max # files (1023) reached for the tablespace问题处理
当表空间数据文件达到1023个时,如果再添加数据库文件,就会出现ORA–1686错误alter tablespace ray add datafile '+DATA'*ERROR at line 1:ORA-01686: max # files (1023) reached for the tablespace ray该类报错没有相关参数可以处理,已经达到了物理个数上限,若当前表空间数据文件未达到最大大小,可以将数据文件大小增大,但是无法增加数据文件数量。参照MOS文档:Adding Data原创 2022-04-26 18:36:54 · 918 阅读 · 0 评论 -
Oracle 12.2 ORA-01017问题处理
数据库版本:Oracle 12.2报错现象:ORA-01017: invalid username/password; logon denied[oracle@ray ~]$ sqlplus / as sysdbaSQL*Plus: Release 12.2.0.1.0 Production on Tue Apr 26 18:13:06 2022Copyright (c) 1982, 2016, Oracle. All rights reserved.Connected to:Orac原创 2022-04-26 18:17:44 · 2746 阅读 · 0 评论 -
EXPDP使用DBLINK跨数据库导出至目标库
生产库由于空间不够,没有足够的空间存放dmp文件,此时可使用DBLINK直接导出至目标库方法,dmp文件不落地至生产库,直接导出至目标库。1.目标数据库环境创建到生产库的DBLINK create public database link expdptest connect to ray identified by ray using 'expdptest';2.目标数据库环境创建directory 指定EXPDP备份的路径create expdptest_dir as '/home/oracle原创 2022-04-22 11:37:55 · 1136 阅读 · 0 评论 -
ORA-07445: exception encountered导致数据库实例无法启动问题处理
数据库版本:Oracle 11.2.0.4数据库启动后其中一个节点Instance terminated by PMON, pid = 44253导致数据库实例无法启动告警日志:Fri Mar 25 17:41:08 2022RCBG started with pid=51, OS id=44654 replication_dependency_tracking turned off (no async multimaster replication found)Starting backgro原创 2022-03-25 20:13:16 · 2394 阅读 · 0 评论 -
Oracle sysaux表空间异常增长处理方法
某一业务系统数据库,sysaux表空间大小达到24GB+查询sysaux表空间中对象的大小,超过1GB的列出,发现ASH相关的表过大。 SEGMENT_NAME OWNER SEGMENT_TYPE MB ----原创 2022-03-14 16:10:49 · 1620 阅读 · 0 评论 -
Oracle删归档出现RMAN-08137报错
oracle删除归档出现RMAN-08137报错。RMAN-08137: warning: archived log not deleted, needed for standby or upstream capture processarchived log file name=/u02/prod/archivelog/1_938000_1004292720.dbf thread=1 sequence=938000RMAN-08137: warning: archived log not delet原创 2022-03-14 09:53:37 · 3384 阅读 · 0 评论 -
Oracle查看SGA和PGA使用率
select name,total,round(total-free,2) used, round(free,2) free,round((total-free)/total*100,2) pctused from(select 'SGA' name,(select sum(value/1024/1024) from v$sga) total,(select sum(bytes/1024/1024) from v$sgastat where name='free memory')free from du原创 2022-03-11 15:19:01 · 3957 阅读 · 0 评论 -
expdp导出出现ORA-31693、ORA-02354、ORA-39826错误
Oracle 12.2在导出的时候,出现ORA-31693、ORA-02354、ORA-39826错误ORA-31693: Table data object "YKSOFT"."T_TEMP_U90915" failed to load/unload and is being skipped due to error:ORA-02354: error in exporting/importing dataORA-39826: Direct path load of view or synonym (原创 2022-03-02 12:11:17 · 2717 阅读 · 0 评论 -
expdp导出出现ORA-39373错误
源端Oracle 12.2目标端Oracle12.1由于高版本导出,导入到低版本,因此在导出的时候需要在导出语句中加入version=xxx参数。expdp a/b@1.1.1.2:9999/hr directory=dp dumpfile=a0301.dmp logfile=expdp_a0301.log schemas=a CLUSTER=N version=12.1ORA-39373报错是由于version参数导致的,参考MOS文档:12.2 DataPump Export (EXPDP)原创 2022-03-02 12:08:21 · 2412 阅读 · 0 评论