关于OFA(Optimal Flexible Architecture)标准的介绍

本文来源于Oracle官网关于OFA的解读,地址如下:

http://docs.oracle.com/cd/E11882_01/install.112/e24321/appendix_ofa.htm#i633068

1.Overview of the Optimal Flexible Architecture Standard

Oracle Documents:
The Optimal Flexible Architecture standard helps you to organize database software and configure databases to allow multiple databases, of different versions, owned by different users to coexist. Optimal Flexible Architecture assists in identification of ORACLE_BASE with its Automatic Diagnostic Repository (ADR) diagnostic data to properly collect incidents.
  • OFA 标准架构帮助我们组织Oracle 软件,配置数据库。通过OFA架构,我们可以安装多个数据库,这些数据库可以使用不同的版本,不同的用户。Oracle的OFA架构可以帮助数据库自动诊断知识库(ADR)识别ORACLE_BASE目录,并妥善的帮助收集诊断事件的数据。
Oracle Documents 写道
All Oraclecomponents on the installation media are compliant with Optimal Flexible Architecture. Oracle Universal Installer places Oracle Database components in directory locations, assigning the default permissions that follow Optimal Flexible Architecture guidelines.
  • Oracle安装介质中的所有数据库组件都与OFA标准相兼容。OUI将会把将要安装的数据库组件放置到OFA指定的固定的目录,并且分配相应默认的权限。
Oracle Documents 写道
Oracle recommends that you use Optimal Flexible Architecture, especially if the database is huge, or if you plan to have multiple databases.
  • Oracle公司官方建议我们使用OFA的标准目录结构,尤其是我们的数据库非常的庞大或者我们打算在同一目录下安装多数据库的时候。

2.Advantages of Multiple Oracle Homes and OFA

Oracle Documents 写道
When you install Oracle database, you are installing a large application that your computer can support. Using multiple Oracle homes and Optimal Flexible Architecture provides many advantages when administering large databases. The following advantagesare important:
  • 当我们安装管理的数据库将会很大时,使用OFA的多ORACLE_HOMS机制将会十分有用。
Oracle Documents 写道
(1)Structured organization of directories and files, and consistent naming for database files simplify database administration.

(2)Distribution of I/O across multiple disks prevents performance bottle necks caused by multiple read or write commands issued simultaneously(同时)to a single drive.

(3)Distribution of applications across multiple disks safeguards against database failures.

(4)Login home directories are not at risk when database administrators add, move, or delete Oracle home directories.

(5)Multiple databases, of different versions, owned by different users can coexist concurrently.

(6)Software upgrades can be tested in an Oracle home in a separate directory from the Oracle home where your production database is located.

3.Implementing Optimal Flexible Architecture

 3.1 File Systems

Oracle Documents 写道
The following sections describe the conventions(公约) for mount points:

Numberof File Systems

NamingConventions

 3.1.1 Number of FileSystems

Oracle Documents 写道
To fully implement the Optimal Flexible Architecture recommendations for a database stored on file systems that are not striped or mirrored, you require at least three file systems located on separate physical devices.
  • 为了完全实现OFA架构,在没有实现基础存储条带化和镜像的数据库环境中,Oracle建议将数据库存储在文件系统上,并且需要3个独立的物理设备。

 3.1.2 Naming Conventions(命名约定)

Oracle Documents 写道
Name all filesystem mount points using the syntax /pm, where p is a string constant(常数) and m is a unique fixed-length key (typically a two-digit number) used to distinguish each mount point. Forexample: /u01 and/u02, or /disk01 and /disk02.
  • 文件系统的名字需要挂载到/pm目录下,这里的p代表一个字符串常量,m 代表一个定长的值,这个值通常由2个数字组成。 如:/u01,u02 或者 /disk01,/disk02。

 3.2 Naming Directories(OFA的命名目录)

Oracle Documents 写道
The following sections describe the naming conventions for directories that are compliant with the Optimal Flexible Architecture standard:
(1)OracleBase Directory Naming Convention
(2)NamingMount Points for Very Large Databases (VLDBs)
(3)Referring to Path Names
(4)OracleHome Directory Naming Convention
(5)Naming Subdirectories
Note:
Ensure that the paths you select for Oracle software, such as the Oracle home path and the Oracle base path, use only ASCII characters. Because installation owner names are used by default for some paths, this ASCII character restriction applies to user names, file names, and directory names.

 3.2.1 Oracle Base Directory NamingConvention

Oracle Documents 写道
The Oracle Base directory is the top level directory that you can use to install the various Oracle software products. You can use the same Oracle base directory for multiple installations. If different operating system users install Oracle software on the same system, then each user must create a separate Oracle base directory.
  • Oracle Base目录是最顶层的目录,我们可以在这个目录下安装多套Oracle。不同的数据库可以使用相同的ORACLE BASE 目录。如果在同一个操作系统下用不同的OS用户来安装Oracle,那么每个OS 用户必须创建独立的ORACLE BASE 目录。
Name Oracle base directories using the syntax /pm/s/u. TableD-1 describes the variables used in this syntax.
  • ORACLE base 目录使用如下格式:/pm/s/u。具体每个参数的含义参考下表:
  • Table D-1 Syntax for Naming Oracle BaseDirectories

Oracle Documents 写道
For example, /u01/app/oracle is an Oracle base directory created by the oracle user and /u01/app/applmgr is an Oracle base directory created by the applmgr user.

Placing Oracle base directories at the same level in the UNIX file system is advantageous because it enables you to refer to the collection of Oracle base directories on different mount points using a single pattern matching string, /*/app/*.

 3.2.2 Naming Mount Points for VeryLarge Databases (VLDBs)

Oracle Documents 写道
If each disk drive contains database files from one application and there are enough drives for each database to prevent I/O bottle necks, use the syntax /h/q/d for naming mount points. TableD-2 describes the variables used in this syntax.
  • 如果每个磁盘存放一个应用的数据,从而来降低磁盘I/O的瓶颈,那么使用/h/q/d 的格式来挂载文件系统。具体参数含义参考下表:
  • Table D-2 Syntax for Naming Mount Points for Very Large Databases

For example, to allocate two drives exclusively for the test database, name the mount points /u01/app/oracle/oradata/test and /u02/app/oracle/oradata/test.

 3.2.3 Referring to Path Names

Oracle Documents 写道
Refer to explicit(显示的) path names only in files designed specifically to store them, such as the password file, /etc/passwd,and the Oracle oratab file. Refer to group memberships only in the /etc/group file.

 3.2.4 Oracle Home Directory NamingConvention

Oracle Documents 写道
To help fulfill the Optimal Flexible Architecture requirement of simultaneously running multiple versions of Oracle software, install the software in a directory matching the pattern /pm/s/u/product/v/type_[n].
  • 为了保证多个版本的数据库同时运行,OFA的目录需要按照如下格式:/pm/s/u/product/v/type_[n]. 具体含义参考下表:

TableD-3 Syntax for Naming Oracle Home Directories

Oracle Documents 写道
For example:

/u01/app/oracle/product/11.2.0/dbhome_1 indicates the Oracle home directory for the first installation of Oracle Database on this system.

The ORACLE_HOME environment variable is set to the Oracle home directory.

 3.2.5 Naming Subdirectories

Oracle Documents 写道
To facilitate the organization of administrative data, Oracle recommends that you store database-specific administration files in subdirectories matching the pattern /h/admin/d/a/, where h is the Oracle base directory, d is the database name (DB_NAME), and a is a subdirectory for specific types of database administration files. TableD-4 describes the database administration file subdirectories.
  • oracle 推荐的子目录使用如下格式:/h/admin/d/a, 这里h 是OracleBase,d 代表实例名,a 代表不同的类型。

Oracle Documents 写道
For example, /u01/app/oracle/admin/orcl/scripts/ is the scripts subdirectory associated with the database named orcl.

In Oracle Database11g, Automatic Diagnostic Repository (ADR) directories replace the bdump, cdump, and udump directories.The ADR diagnostic data goes into the /h/diag/rdbms/d/i/ directory.

where

h is Oracle Base,d is the database name,i is the instance name.

  • 这里要注意的是,在Oracle 11g里面Oracle 使用ADR目录代替了bdump,cdump和udump。ADR的目录结构是/h/diag/rdbms/d/i.
Oracle Documents 写道
The ADR home has the trace, alert, and incident sub-directories. TableD-5 describes the ADR directories.
  • ADR目录有trace,alert 和其他的子目录,这些子目录如下表:
  • TableD-5 Locations for Diagnostic Traces

 3.3 Naming Database Files

Oracle Documents 写道
The following table lists the recommended file naming conventions for database files:

Note:
Oracle Managed Files (OMF) and files stored in Oracle Automatic Storage Management disk groups use different naming conventions.

  • 这里除了OMF,其文件存在放ASM里,有自己的命名约定。

  • The following table describes this syntax:

Oracle Documents 写道:
Note:
Do not store files other than control files, redo log files, or data files associated with database d in the path /h/q/d.
  • 主要不要在/h/q/d 目录下存储除控制文件,online redo 和datafile 之外的文件。
Using this convention, it is easy to determine the database to which the /u01/app/oracle/oradata/sab/system01.dbf file belongs.

 3.4 Separating Segments with Different Requirements

Oracle Documents 写道
Separate groups of segments with different life spans, I/O request demands, and backup frequencies across different tablespaces.

TableD-6 describes the special tablespaces that the Database Configuration Assistant creates for each Oracle database. If you manually create a database,you must create the required tablespaces. These tablespaces are in addition to those required for application segments.

  • 根据不同的需求来创建对应的表空间,下表列出的是DBCA命令创建的所有表空间,其中的Example 和users 是可选的的表空间。
  • TableD-6 Special Tablespaces

Oracle Documents 写道:
Creating these special tablespaces is effective because data dictionary segments are never dropped, and no other segments that can be dropped are allowed in the SYSTEM tablespace.

 3.5 Exploitingthe Optimal Flexible Architecture Structure for Oracle Files

TableD-7 describes the syntax used for identifying classes of files.
  •  TableD-7 Directory Structure Syntax for Identifying Classes of Files

 3.6 Optimal Flexible Architecture File Mapping

Oracle Documents 写道
TableD-8 shows a hierarchical file mapping of a sample Optimal Flexible Architecture-compliant installation with two Oracle home directories and two databases. The database files are distributed across three mount points, /u02, /u03,and /u04.

Note:
Oracle recommends that you use Oracle ASM to provide greater redundancy and throughput.

  • TableD-8 Hierarchical File Mapping for an Optimal Flexible Architecture Installation

【标准】Oracle Optimal Flexible Architecture(OFA)简介相关推荐

  1. 最优灵活体系结构(Optimal Flexible Architecture,OFA)

    最优灵活体系结构(Optimal Flexible Architecture,简称OFA) OFA其实就是一种Oracle的一种规范,其意义就是用一种统一的给文件和文件夹的规则,和文件存放目录的规则做 ...

  2. oracle设置会计科目管理器,系列之四:ORACLE EBS基础设置要点简介(E) - season的日志 - 网易博客...

    ORACLE EBS 基础设置要点简介 九.结语 (注:网站批量发图有问题,上传后显示不清楚.点击图片打开后,质量尚可. 七.工作流 系统关于工作流的设置工作包含两部分工作,一是基于企业的特殊需要,使 ...

  3. Oracle Cluster Health Monitor(CHM)简介

    Oracle Cluster Health Monitor(CHM)简介 概述 Cluster Health Monitor(以下简称CHM)是一个Oracle提供的工具,用来自动收集操作系统的资源( ...

  4. 【ogg Reference Part II Oracle GoldenGate Microservices Architecture】5 Oracle GoldenGate AdminClient

    您可以使用Oracle GoldenGate MA使用HTML用户界面配置和管理数据复制. 本部分描述可以与Oracle GoldenGate微服务体系结构一起使用的命令.参数和选项. 5 Oracl ...

  5. oracle dba认证时效性,Oracle OCP DBA认证类型简介

    Oracle OCP DBA认证类型简介 Oracle OCP DBA认证是所有Oracle认证中最普及的一种认证,本来,Oracle认证是专为专业人士设计的,想要参加考试的人员必须要具有DBA 4年 ...

  6. oracle+odac的作用,ODAC简介

    ODAC简介 ODAC(Oracle 数据存取组件)4.05 说明Core Lab 保留所有版权  1997-2002. --------------------------------------- ...

  7. oracle网络认证,Oracle网络应用开发人员认证简介

    Oracle网络应用开发人员认证过程是为Oracle应用开发人员设计的,包括4门考试和两种可选途径. 体系 oracle的体系很庞大,要学习它,首先要了解oracle的框架.在这里,简要的讲一下ora ...

  8. JSP标准标签库(JSTL)--简介

    JSP 标准标签库(JSTL) JSP标准标签库(JSTL)是一个JSP标签集合,它封装了JSP应用的通用核心功能. JSTL支持通用的.结构化的任务,比如迭代,条件判断,XML文档操作,国际化标签, ...

  9. oracle中间键配置,Oracle Exalogic中间件云服务器简介及产品配置特点(2)

    Oracle Exalogic中间件云服务器 -- 软硬件结合的优化平台 目前,企业所面临的应用挑战大多集中在异构环境.复杂的多层应用以及现有环境的低利用率等.于是,企业开始根据实际业务需求和投资情况 ...

最新文章

  1. Win10系列:JavaScript动画2
  2. spring配置datasource三种方式 数据库连接
  3. Python——函数 8、可变长参数
  4. Linux中最方便的管理员获取方法
  5. usnews 计算机专业排名,2019美国大学USNews计算机专业排名
  6. MySQL单行函数分类
  7. 摆脱冷气_摆脱匿名类
  8. 【2017年第1期】金融大数据标准规范体系比较研究
  9. Groovy 转换JSON和生产JSON
  10. 无法登录苹果开发者_苹果开发者账号最新2020申请方式可支付宝微信付款
  11. 大数据,数据分析,机器学习,架构等相关系统名称名词解释
  12. Android 使用库项目时的一个特殊tip
  13. 做出产品不难,做好产品必须高手
  14. 《数字图像处理与机器视觉——Visual C++与Matlab实现》——0.1 数字图像
  15. dbv oracle驱动,Oracle DBV 工具 介绍
  16. 计算机青蓝云题库,计算机三级上机题库 计算机三级网络技术上机题库《南开100题》.doc...
  17. 进入微信公众平台自动跳转到小程序界面,而不是微信公众号界面。
  18. 连接共享打印机提示没有权限使用网络资源
  19. 十分钟django后台 simpleui -含自定义后台首页
  20. DDR SDRAM内存优化

热门文章

  1. (转自)何新:谈“玄”(一)
  2. Picture HDU - 1828 (扫描线求矩形周长并)
  3. PHP随机生成英文大小写
  4. Qt opengl 实现图片的旋转
  5. 去掉图题注 空格_【转载】论文排版-Word插入题注时自动删除标签与编号前的空格,编号后添加空格...
  6. android 串口通信打开失败
  7. 文献调研之如何查找文献及源码
  8. microsoft edge 编辑器不支持浏览器隐私模式,请用普通模式访问! 解决办法
  9. 豆瓣首页话题输入框的实现
  10. 对 算术基本定理 的研究