SGA与共享内存2
[@more@]以下是个案例:shmmax设置不当导致dcba无法创建数据库.问题现象:在dbca建库的时候报错:ORA-03113: end-of-file on communication channel,需要说明的是,基本上是在创建实例的时候。 于是我想到会不会是jdk的问题呢?于是我就通过命令行来做了下: SQL> startup nomount pfile="/home/oracle/orabase/admin/test/scripts/init.ora";ORA-03113: end-of-file on communication channelSQL> exitDisconnected 可惜结果还是如此,看来不是这个问题。继续排查吧。还好基础知识还是有一些,想到实例都起不来,实例就
SGA与共享内存
[@more@]SGA与共享内存参考文献:http://www.eygle.com/archives/2005/11/whats_mean_linux_shmmax.htmlhttp://hi.chinaunix.net/?uid-11771621-action-viewspace-itemid-12230http://www.diybl.com/course/7_databases/oracle/oraclejs/20090318/163173.html<<深入浅出Oracle DBA入门进阶与诊断案例>>第四章内存管理SGA在Linux和Unix上的设置和一个操作系统的内核参数有关。这个参数是shmmax. SHMMAX Available physical memory Defines the maximum allowable size of one shared memory segment。The SHMMAX setting shou
Oracle中SQL语句解析的步骤(转)
我们都知道在Oracle中每条SQL语句在执行之前都需要经过解析,这里面又分为软解析和硬解析。那么这两种解析有何不同之处呢?它们又分别是如何进行解析呢?Oracle内部解析的步骤又是如何进行的呢?下面我们就这些话题...
RMAN命令详解
绝世好文: 转自:[url]http://blog.csdn.net/managergh/archive/2007/03/06/1521944.aspx[/url]1 列出对应物 RMAN>list i...
MAXDATAFILES, MAXLOGFILES, MAXLOGMEMBERS, MAXINSTANCES and MAXLOGHISTORY
(原文地址)http://tolywang.itpub.net/post/48/315039All questions are related to Oracle for z/OS (OS/390), and the answers are valid for Oracle8, Orale8i, Oracle9i and Oracle10g.CONTENTS--------1. Wha...
CONTROL_FILE_RECORD_KEEP_TIME
CONTROL_FILE_RECORD_KEEP_TIMEPropertyDescriptionParameter typeIntegerDefault value7 (days)ModifiableALTER SYSTEMRange of values0 to 365 (days)BasicNoCONTROL_FILE_RECORD_KEEP_TIM...
ORA-01102
转自:http://www.hellodba.com/cases/case-unexception_down.htm某系统突然掉电,系统启动后发现Oracle无法启动。启动时报如下错误:ORA-01102 cannot mount database in EXCLUSIVE mode出现1102错误可能有以下几种可能:一、在HA系统中,已经有其他节点启动了实例,将双机共享的资源(如磁盘阵列上的裸设备)占用了;二、说明Oracle被异常关闭时,有资源没有被释放,一般有以下几种可能,1、 Oracle的共享内存段或信号量没有被释放;2、 Oracle的后台进程(如SMON、PMON、DBWn等)没有被关闭;3、 用于锁内存的文件lk<sid>和sgade
ORA-01507
Error: ORA 1103 Text: database name in control file is not -------------------------------------------------------------------------------Cause: The database name used does not match that in the control file.Action: Ensure the correct control file and database name are used.错误原因:控制文件中的数据库名字与将要mount的数据库名字不一致。解决方法:检查初始化参数文件中db_name参数所指定的名字是否与control_files参数所指定的控制文件內的数据库名字一样[@more@]
ORA-00214
ORA-00214 错误发生的原因是控制文件不一致,解决的方法是删除不一致的控制文件,使所有的控制文件一致;重新创建控制文件An ORA-00214 is issued whenever Oracle detects an inconsistency between two mirrored copies of the control file. All copies of the control file must have the same internal sequence number for Oracle to start up the database or shut it down in normal or immediate mode. If the database is running and the checkpoint in the file header could not be advanced the datafile will be taken off