oracle实例参数是什么意思,如何用Oracle创建实例的参数需求呢?

您所在的位置:网站首页 oracle实例名是什么意思 oracle实例参数是什么意思,如何用Oracle创建实例的参数需求呢?

oracle实例参数是什么意思,如何用Oracle创建实例的参数需求呢?

#oracle实例参数是什么意思,如何用Oracle创建实例的参数需求呢?| 来源: 网络整理| 查看: 265

racle在启动过程中,需要读取参数文件(pfile/spfile)来创建实例。Oracle在启动过程中,寻找参数文件的顺序为:

spfile。ora,spfile。ora,init。ora。

而创建实例的过程中,Oracle需要的最少参数为一个,即db_name参数。

我们来看一个测试,启动一个任意设置的实例,本例Oracle_SID=julia:

oracle@jumper dbs]$ export Oracle_SID=julia

[Oracle@jumper dbs]$ SQLplus "/ as sysdba"

SQL*Plus: Release 9。

2。0。4。0

- Production on Mon May 8 11:08:36 2006

Copyright (c) 1982, 2002,

Oracle Corporation。

All rights reserved。

Connected to an idle instance。

SQL> startup nomount;

ORA-01078: failure in

processing system parameters

LRM-00109: could not open parameter

file ’/opt/Oracle/product/9。

2。0/dbs/initjulia。ora’

Oracle最后检查的文件为initjulia。ora,让我们创建这个文件,然后数据库实例即可创建:

SQL> ! echo "db_name=julia" >

/opt/Oracle/product/9。

2。0/dbs/initjulia。ora

SQL> startup nomount;

Oracle instance started。

Total System Global Area

97588504 bytes

Fixed Size

451864 bytes

Variable Size

46137344 bytes

Database Buffers

50331648 bytes。

全部



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3