首先请帮忙介绍一下Oracle启动过程中会涉及到的几个参数文件。我先说一下我知道的,不完整的请各位帮忙补充一下。
第一步:启动实例
1.读取初始化参数 涉及到的参数有init.ora,initsid.ora (不全请帮忙补充)
2.分配系统全局区
3.启动后台进程
4.打开alertSID.log和跟踪文件第二步:装载数据库
1.将DataBase于一个已打开的实例关联
2.打开控制文件
3.获取DBF和LOG的名称和状态第三步:
1.打开DBF
2.打开联机重做日志Oracle的启动过程基本是由这3步来走的,对吗?这也是我从别人那里听来的,但我并没清楚的看到启动过程,所以不知道对不对。
请大家帮我补充一下我漏掉的参数文件,特别是比较重要的文件。
最后请帮忙介绍一下,这些参数文件在Linux下的位置。因为到目前为止我都是用win来运行Oracle的,Linux下没试过呢还。想提前了解一下,以后也许要用到。
谢谢大家

解决方案 »

  1.   

    第一步可能用的是spfile而不是pfile。pfile和spfile参数文件默认windows在database下,linux在dbs下。
      

  2.   

    警日志文件(alertSID.log),可以看到这一阶段的启动过程:读取参数文件,应用参数启动实例...
      

  3.   

    错误。
    startup nomount时无需控制文件。
      

  4.   

    The three steps to starting an Oracle database and making it available for systemwide use are: 
    Start an instance. 
    Mount the database. 
    Open the database. How an Instance Is Started 12.2.1 实例是如何启动的 
    036 When Oracle starts an instance, it reads the server parameter file (SPFILE) or initialization parameter file to determine the values of initialization parameters. Then, it allocates an SGA, which is a shared area of memory used for database information, and creates background processes. At this point, no database is associated with these memory structures and processes.
     
    How a Database Is Mounted 12.2.2 数据库是如何挂载的 
    043 The instance mounts a database to associate the database with that instance. To mount the database, the instance finds the database control files and opens them. Control files are specified in the CONTROL_FILES initialization parameter in the parameter file used to start the instance. Oracle then reads the control files to get the names of the database's datafiles and redo log files.
     
    044 At this point, the database is still closed and is accessible only to the database administrator. The database administrator can keep the database closed while completing specific maintenance operations. However, the database is not yet available for normal operations.
     
      

  5.   

    What Happens When You Open a Database 12.2.3 数据库是如何打开的 
    058 Opening a mounted database makes it available for normal database operations. Any valid user can connect to an open database and access its information. Usually, a database administrator opens the database to make it available for general use.
      将已挂载数据库(mounted database)打开(open)就可以使此数据库正常工作。任何有效的用户都可以连接到一个打开的数据库并访问其中的信息。通常数据库是处于打开状态的,以便为用户提供服务。
      
    059 When you open the database, Oracle opens the online datafiles and redo log files. If a tablespace was offline when the database was previously shut down, the tablespace and its corresponding datafiles will still be offline when you reopen the database.
      当管理员打开数据库时,Oracle 将打开所有联机的数据文件(datafile)及重做日志文件(redo log file)。如果数据库上次停止时某个表空间处于脱机状态,那么打开数据库时此表空间及相关的数据文件将依旧处于脱机状态。
      
    060 If any of the datafiles or redo log files are not present when you attempt to open the database, then Oracle returns an error. You must perform recovery on a backup of any damaged or missing files before you can open the database.
     如果 Oracle 在打开数据库时找不到所需的数据文件或重做日志文件,系统将返回错误信息。管理员必须从备份中恢复损坏或缺失的文件后,才能打开数据库。
     
      

  6.   

    简单点 不要老是问这东西一定要自己实践
    下面是我的经历仅供参考:
    连接到SQL*PLUS
    1 STARTUP NOMOUNT
    此过程 :
    检查系统大概信息如内存CPU系统版本号
    读取初始化参数文件  在10G及其以上版本默认是读取SPFILE文件9I及其以下版本读取的是PFILE(INITSID.ORA)
    分配内存
    启动进程
    此时警告日志文件已经被打开并写入启动过程信息2 ALTER DATABASE MOUNT
    实例与数据库通信
    从参数文件中读取控制文件信息(此时控制文件已经被数据库所用)
    装载数据库
    3 ALTER DATABASE OPEN
    数据库被打开(打开DBF和日志文件)最好还是看你的警告日志文件 那里记载着你的详细启动过程 和在启动过程中失败的原因