invoking target'agent nmhs'of makefile'../db/sysman/lib/ins_emagent.mk'
Installation of Oracle 11.2.0.4 Database Software on OL7 fails with “undefined reference to symbol ‘B_DestroyKeyObject’” error (文档 ID 1965691.1)In this DocumentSymptomsCauseSolution...
Error in invoking target'agent nmhs'of makefile'../db/sysman/lib/ins_emagent.mk'
在Red Hat 7上安装11.2.0.4 Database软件时出现了下面的编译错误提示:Error in invoking target 'agent nmhs' of makefile '/u01/oracle/product/11.2.0/db/sysman/lib/ins_emagent.mk'. 详细信息见下图:根据MOS上的文档说明,这是一个BUG,需要安装补丁patch 19692824。详情见MOS文档:1965691.1...
CRS-2409:The clock on host is not synchronous with the mean cluster
CRS-2409:The clock on host <hostname> is not synchronous with the mean cluster time (文档 ID 1135337.1)In this DocumentSymptomsCauseSolutionReferencesAppli...
10GR2后ORACLE对REDO写的增强 commit_write
ORACLE DBA非常有必要简单的了解下。写这个文档,我得出的结论是,我们小事务居多的网站,以后升级到10GR2后,可以考虑改变日志提交方式为batch , wait。这种方式不丢数据,节省了日志浪费,省了更多的redo blocks...
DATA GUARD的STANDBY数据库ORA-1009错误
一套10G的 DATA GUARD的STANDBY数据库不同步数据,出现了大量的ORA-1009错误。Alert日志:Thu Jan 21 23:18:38 CST 2016Errors in file /oracle/admin/sjdb/bdump/sjdb_mrp0_14616.trc:ORA-01009: missing mandatory parameterThu Jan 21 23:19:08 CST 2016FAL[client, MRP0]: Error 1009 fetching archived redo lo...
Oracle数据库中Schema和User的关系
Oracle数据库中Schema和User的关系是一一对应的,也就是说一个Schema只对应一个User,一个User对应一个Schema。当某个User下面有table,view,Index......等Schema Object时,这个User就成了一个Schema,也就是在Enterprise Manager中出现的那个,如果某个User下面没有table,view,Index......等Schema Object时,这个User不...
ORA-19909 datafile 162 belongs to an orphan incarnation
环境:OS:Linux DB:10.2.0.5 (主库RAC+ASM ,备库 单机+文件系统)错误现象:启动DG的时候运行SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;这个命令之后,DG没有正常同步,查看alert日志发现...
ORACLE 11G Active DataGuard搭建
主备库环境情况OS:LinuxDB:Oracle 11.2.0.4主库SID:test备库SID:dgtest主库:TEST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.11)(PORT = 1521)) ) (CONNECT_DATA = (SERVIC...
ORACLE RAC 环境 DROP DATABASE
Oracle RAC集群DROP DATABASE需要先关闭集群模式才能运行。1.先停止所有节点实例否则回报ORA-29707: inconsistent value 1 for initialization parameter cluster_database_instances with other instances)sqlplus "/as sysdba"shutdown immediate 2.在其中一节点操作,先关闭rac模式。startup nomou...
关于oracle11G的自动内存管理MEMORY_TARGET和MEMORY_MAX_TARGET
自动内存管理是用两个初始化参数进行配置的: MEMORY_TARGET:动态控制SGA和PGA时,Oracle总共可以使用的共享内存大小,这个参数是动态的,因此提供给Oracle的内存总量是可以动态增大,也可以动态减小的。它不能超过MEMORY_MAX_TARGET参数设置的大小。默认值是0。 MEMORY_MAX_TARGET:这个参数定义了MEMORY_TARGET...
彻底杀掉RMAN进程
有的时候因为某些原因需要KILL掉RMAN进程。但是直接KILL掉RMAN进程的pid还是不能彻底杀掉,而是要连channel进程也一起KILL才可以!下面提供一个彻底KILL的方法供参考。1、看一下KILL掉RMAN进程的pid的效果
RMAN备份文件格式说明
RMAN备份文件可以自定义各种各样的格式,除了固定输入的值外还支持很多变量参数,如下:%c备份片的拷贝数%d数据库名称%D位于该月中的第几天(DD)%M位于该年中的第几月(MM)
oracle 组件(Components)说明
oracle建库的时候有很多的组件选项,下面对每个组件做个说明。?参考文档:?MOS:Information On Installed Database Components and Schemas (Doc ID 472937.1)??在你本地所安装的组件可以使用下列语句查看:?select comp_id,comp_name, version, status from dba_registry;以下内容来自MOS。
oracle Spatial 组件卸载
Oracle的组件需要一个一个卸载,而且方法也有差异。这里说一下Spatial 组件卸载。参考文档:MOS:Steps for Manual De-installation of Oracle Spatial (Doc ID 179472.1)https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=320026192621105&id=179472.1&_afrWindowMode=0&_adf.ctrl-state=19n0vc396r_4适用的版本:Oracle Spatial and Graph - Version 9.2.0.1 to 11.2.0.4 [Release 9.2 to 11.2]
ORA-14452:attempt to create,alter or drop an index on temporary table already in
背景:今天删除用户时提示以下错误:SQL> drop user MDSYS cascade; drop user MDSYS cascade*ERROR at line 1:ORA-00604: error occurred at recursive SQL level 1ORA-14452: attempt to create, alter or drop an index on temporary table already in use
ORA-27125: unable to create shared memory segment
环境:OS:RHEL 6.5DB:oracle 10.2.0.1ORA-27125: unable to create shared memory segmentLinux-x86_64 Error: 1: Operation not permitted
ORA-01157: cannot identify/lock data file 201 ORA-01110: data file 201:
错误现象:查询表空间使用情况的时候提示如下信息:ORA-01157: cannot identify/lock data file 201 - see DBWR trace fileORA-01110: data file 201: '/oradata/outdb/temp01.dbf'
ORA-01092: ORACLE instance terminated. Disconnection forced
错误现象:在做数据库从单机到RAC恢复的过程中,1节点正常启动,2节点无法open,提示如下错误:SQL> alter database open;alter database open*ERROR at line 1:ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-01618: redo thread 2 is not enabled - cannot mount
错误现象:在做数据库从单机到RAC恢复的过程中,1节点正常启动,2节点无法mount,提示如下错误:SQL> alter database mount;alter database mount*ERROR at line 1:ORA-01618: redo thread 2 is not enabled - cannot mount
ORA-00344: unable to re-create online log
打开数据库的时候出现下面的错误。?RMAN> alter database open resetlogs;RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of alter db command at 08/10/2015 09:53:07ORA-00344: unable to re-create online log '/oradata/outdb/redo01.log'ORA-27040: file create error, unable to create fileLinux-x86_64 Error: