/etc/oratab
文件内容:
# This file is used by ORACLEutilities. It is created by root.sh 这个文件被ORACLEutilities使用,由root.sh创建。
# and updated by the Database ConfigurationAssistant when creating 当创建数据库时,Database Configuration Assistant(DBCA)会更新这个文件。
# a database.
# A colon, ':', is used as the fieldterminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', arecomments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y|W>: $ORACLE_SID:$ORACLE_HOME:<N|Y|W>
# N:数据库随系统启动而不会自动启动
# The first and second fields are thesystem identifier and home Y:数据库随系统启动而启动
# directory of the databaserespectively. The third filed indicates 此配置文件被$ORACLE_HOME/bin/dbstart|dbshut读取,进而实现相应的启动选择。
# 调用dbstart时应将其写入/etc/rc.local里
# Multiple entries with the same$ORACLE_SID are not allowed.
#
#
sales:/u01/app/oracle/product/11.2.0.3/dbhome_1:N
本文介绍Linux环境下Oracle数据库的oratab文件格式与作用。该文件由root.sh创建,并由Database Configuration Assistant更新,用于记录数据库实例SID、Oracle Home路径及启动属性等关键信息。
2520

被折叠的 条评论
为什么被折叠?



