DBCA_RAW_CONFIG的作用

===========================================================
简单介绍了环境变量DBCA_RAW_CONFIG的作用,及应用场合.

在使用裸设备的环境中,在第一次使用DBCA创建数据库时,如果没有使用DBCA_RAW_CONFIG环境变量对裸设备和数据文件进行对应,那么,出现的表空间的对应数据文件就是默认的文件系统的文件位置,这时,我们可以使用DBCA_RAW_CONFIG对这个裸设备进行映射,

1.DBCA_RAW_CONFIG
指向一个ASCII文件

On the node from which you run the Oracle Universal Installer, create an ASCII file identifying the raw volume objects as shown

above. The
DBCA requires that these objects exist during installation and database creation. When creating the ASCII file content for the

objects, name them
using the format
database_object=raw_device_file_path or database_object=soft_link

When you create the ASCII file, separate the database objects from the paths with equals (=) signs as shown in the example below-

system=oracleoradatadb_namedb_name_raw_system_251m
users=oracleoradatadb_namedb_name_raw_users_26m
temp=oracleoradatadb_namedb_name_raw_temp_41m
undotbs1=oracleoradatadb_namedb_name_raw_undotbs_201m
undotbs2=oracleoradatadb_namedb_name_raw_undotbs2_201m
control1=oracleoradatadb_namedb_name_raw_controlfile1_110m
control2=oracleoradatadb_namedb_name_raw_controlfile2_110m
redo1_1=oracleoradatadb_namedb_name_raw_rdo_1_1_121m
redo1_2=oracleoradatadb_namedb_name_raw_rdo_1_2_121m
redo2_1=oracleoradatadb_namedb_name_raw_rdo_2_1_121m
redo2_2=oracleoradatadb_namedb_name_raw_rdo_2_2_121m
spfile=oracleoradatadb_namedb_name_raw_spfile_5m
indx=oracleoradatadb_namedb_name_raw_indx_26m
tools=oracleoradatadb_namedb_name_raw_tools_11m
You must specify that Oracle should use this file to determine the raw device volume names by setting the following environment

variable where filename
is the name of the ASCII file that contains the entries shown in the example above
setenv DBCA_RAW_CONFIG filename
or
export DBCA_RAW_CONFIG=filename

正因为这个DBCA_RAW_CONFIG环境变量只是为DBCA使用的,因此,平时对数据文件的增加删除,都不用去管这个DBCA_RAW_CONFIG变量对应的影象文件.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24870090/viewspace-1017998/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24870090/viewspace-1017998/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值