此内容没有您所选择的语言版本。

Chapter 24. Creating Oracle Directories


For Oracle 10g you only need to create the directory for $ORACLE_BASE:
su - root
mkdir -p /u01/app/oracle
chown oracle.oinstall /u01/app/oracle
Copy to Clipboard Toggle word wrap
If you want to comply with Oracle's Optimal Flexible Architecture (OFA), then you do not want to place the database files in the /u01 directory but in another directory, file system or disk such as /u02:
su - root
mkdir -p /u02/oradata/orcl
chown oracle.oinstall /u02/oradata/orcl
Copy to Clipboard Toggle word wrap
In this example, "orcl" stands for the name of the database which will also be the name of the instance. This is typically the case for single instance databases.
The OFA standard is a guideline created by Oracle to ensure reliable Oracle installations. For Oracle 10g Database, the OFA recommended Oracle home path has changed.
The home path for the first 10g (10.1.0) database installation on a system would be:
/u01/app/oracle/product/10.1.0/db_1
Copy to Clipboard Toggle word wrap
If you would install a second Oracle 10g Database 10g (10.1.0) on the same system, the Oracle home directory should be as follows:
/u01/app/oracle/product/10.1.0/db_2
Copy to Clipboard Toggle word wrap
If the Oracle 10g software is not owned by the user oracle but by the user "oraowner", then the path of the Oracle home directory would be:
/u01/app/oraowner/product/10.1.0/db_1
/u01/app/oraowner/product/10.1.0/db_2
Copy to Clipboard Toggle word wrap
The standard directory name for Oracle 10g is "app":
/u01/app/oracle/product/10.1.0/db_1
Copy to Clipboard Toggle word wrap
Oracle recommends to use mount points such as /u01, /u02, and so on, complies with the OFA guidelines. But others can be used, for example:
/disk_1/app/oracle/product/10.1.0/db_1
Copy to Clipboard Toggle word wrap
The subtree for database files not stored in ASM disk groups should be named as follows:
/u02/oradata/<db_name_1>
/u02/oradata/<db_name_2>
/u03/oradata/<db_name_1>
/u03/oradata/<db_name_2>
Copy to Clipboard Toggle word wrap
The mount point /u01 should be used for the Oracle software only. /u02, /u03, /u04 and so on, should be used for the database files. The db_name represents the DB_NAME initialization parameter which is typically the same as the SID name for single instance databases.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部