Oracle OFA(Optimal Flexible Architecture) 说明

TI 实时操作系统SYS/BIOS使用总结 1:概述: SYS/BIOS 是一个可扩展的实时的操作系统。具有非常快速的响应时间(在中断和任务切换时达到较短的延迟),响应时间的确定性,强壮的抢占系统,优化的内存分配和堆栈管理(尽量少的消耗和碎片)。能够实现系统的模块化并可裁剪。 最大的特点就是:实时。 2:XDCtools: XDCtools 是SYS/BIOS引用的一种实时的软件组件技术(RTSC),它包括一些有用的工具,标准的AP 阅读详情

官网链接如下:

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

一.Overview of the Optimal Flexible Architecture Standard

The Optimal Flexible Architecture standard helps you to organize database software andconfigure databases to allow multiple databases, of different versions, ownedby different users to coexist. Optimal Flexible Architecture assists inidentification of ORACLE_BASE with its Automatic DiagnosticRepository (ADR) diagnostic data to properly collect incidents.

--OFA 架构帮助我们组织Oracle 软件,配置数据库,通过OFA架构,我们可以安装多个数据库,这些数据库可以使用不同的版本,不同的用户。

All Oraclecomponents on the installation media are compliant with Optimal FlexibleArchitecture. Oracle Universal Installer places Oracle Database components indirectory locations, assigning the default permissions that follow OptimalFlexible Architecture guidelines.

--所有的Oracle 组件和安装介质都遵守OFA 架构。 OUI将oracle 组件存放到指定的目录,并根据OFA来分配默认的权限。

Oraclerecommends that you use Optimal Flexible Architecture, especially if thedatabase is huge, or if you plan to have multiple databases.

--Oracle 推荐我们使用OFA,除非我们的数据库非常大,或者我们计划使用多个数据库。

Advantages of Multiple Oracle Homesand OFA

When you installOracle database, you are installing a large application that your computer cansupport. Using multiple Oracle homes and Optimal Flexible Architecture providesmany advantages when administering large databases. The following advantagesare important:

--当数据库很大时,使用多个ORACLE Home 和 OFA有如下好处:

(1)Structured organization ofdirectories and files, and consistent naming for database files simplifydatabase administration.

(2)Distribution of I/O across multipledisks prevents performance bottlenecks caused by multiple read or writecommands issued simultaneously to a single drive.

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

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

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

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

二. Implementing Optimal Flexible Architecture

2.1 File Systems

The following sections describe theconventions for mount points:

Numberof File Systems

NamingConventions

2.1.1 Number of FileSystems

To fullyimplement the Optimal Flexible Architecture recommendations for a databasestored on file systems that are not striped or mirrored, you require at leastthree file systems located on separate physical devices.

--为了完全实现OFA架构,Oracle建议将数据库存储在没有做strip 和 mirror的文件系统上,并且需要3个独立的物理设备。

2.1.2 NamingConventions

Name all filesystem mount points using the syntax /pm, where p is a stringconstant and m is a unique fixed-length key (typically a two-digitnumber) used to distinguish each mount point. Forexample: /u01 and/u02, or /disk01 and /disk02.

--文件系统的名字需要挂载到/pm 目录下,这里的p代表一个字符串常量,m 代表一个定长的值,这个值通常由2个数字组成。 如:/u01,u02 或者 /disk01,/disk02.

2.2 Naming Directories(OFA的命名目录)

The followingsections describe the naming conventions for directories that are compliantwith the Optimal Flexible Architecture standard:

(1)OracleBase Directory Naming Convention

(2)NamingMount Points for Very Large Databases (VLDBs)

(3)Referringto Path Names

(4)OracleHome Directory Naming Convention

(5)NamingSubdirectories

Note:

Ensure that thepaths you select for Oracle software, such as the Oracle home path and theOracle base path, use only ASCII characters. Because installation owner namesare used by default for some paths, this ASCII character restriction applies touser names, file names, and directory names.

2.2.1 Oracle Base Directory NamingConvention

--Oracle Base 目录的命名约定

The Oracle Basedirectory is the top level directory that you can use to install the variousOracle software products. You can use the same Oracle base directory formultiple installations. If different operating system users install Oraclesoftware on the same system, then each user must create a separate Oracle basedirectory.

--Oracle Base 目录是最顶层的目录,我们可以在这个目录下安装多套Oracle。 不同的数据库可以使用相同的ORACLE BASE 目录。 如果在同一个操作系统下用不同的OS用户来安装Oracle,那么每个OS 用户必须创建独立的ORACLE BASE 目录。

Name Oracle basedirectories 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

Variable

Description

pm

A mount point name

s

A standard directory name

u

The name of the owner of the directory (the user running Oracle Universal Installer)

For example, /u01/app/oracle is an Oracle base directory created bythe oracle user and /u01/app/applmgr is an Oracle basedirectory created by the applmgr user.

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

2.2.2 Naming Mount Points for VeryLarge Databases (VLDBs)

If each diskdrive contains database files from one application and there are enough drivesfor each database to prevent I/O bottlenecks, use thesyntax /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 Pointsfor Very Large Databases

Variable

Description

h

Oracle base directory

q

A string denoting that Oracle data is stored in this directory, for example, oradata

d

The value of the initialization parameter DB_NAME (typically the same as the instance SID for single-instance databases)

For example, toallocate two drives exclusively for the test database, name the mountpoints /u01/app/oracle/oradata/test and /u02/app/oracle/oradata/test.

2.2.3 Referring to Path Names

Refer toexplicit path names only in files designed specifically to store them, such asthe password file, /etc/passwd,and the Oracle oratab file. Refer to group memberships only inthe /etc/group file.


2.2.4 Oracle Home Directory NamingConvention

--Oracle Home 目录的命名约定

To help fulfillthe Optimal Flexible Architecture requirement of simultaneously runningmultiple versions of Oracle software, install the software in a directorymatching 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

Variable

Description

pm

A mount point name

s

A standard directory name

u

The name of the owner of the directory

v

The version of the software

type

The type of installation, for example Database (dbhome_1), Client (client), or Oracle Grid Infrastructure (grid)

n

An optional counter, which enables you to install the same product more than once in the same Oracle base directory

For example:

/u01/app/oracle/product/11.2.0/dbhome_1 indicatesthe Oracle home directory for the first installation of Oracle Database on thissystem.

The ORACLE_HOME environmentvariable is set to the Oracle home directory.

2.2.5 Naming Subdirectories

To facilitatethe organization of administrative data, Oracle recommends that you storedatabase-specific administration files in subdirectories matching thepattern /h/admin/d/a/, where h is the Oracle basedirectory, d is the database name (DB_NAME), and a is asubdirectory for specific types of database administration files. TableD-4 describes the database administration file subdirectories.

--oracle 推荐的子目录使用如下格式:/h/admin/d/a, 这里h 是OracleBase,d 代表实例名,a 代表不同的类型,a 代表的具体含义参考下表:

TableD-4 Subdirectories for Database Administration Files

Subdirectory

Description

arch

Archived redo log files

adump

Audit files (Set the AUDIT_FILE_DEST initialization parameter to specify the adump directory. Clean out this subdirectory periodically

create

Contains the data pump file dp.log

dpdump

Default directory for data pump operations. Scripts used to create the database

exp

Database export files

logbook

Files recording the status and history of the database

pfile

Instance parameter files

scripts

Ad hoc SQL scripts

For example, /u01/app/oracle/admin/orcl/scripts/ isthe 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.

The ADR home hasthe trace, alert, and incident sub-directories. TableD-5 describes the ADR directories.

ADR 目录有trace,alert 和其他的子目录,这些子目录如下表:

TableD-5 Locations for Diagnostic Traces

Diagnostic Data

10g Location

11g Location

Foreground Process traces

user_dump_dest

ADR_HOME/trace/

Background Process traces

background_dump_dest

ADR_HOME/trace/

Alert Log Data

background_dump_dest

ADR_HOME/alert/

Core Dump

core_dump_dest

ADR_HOME/incident/In/

Incident Dumps

user_dump_dest or background_dump_dest depending on the process

ADR_HOME/incident/In/

2.3 Naming Database Files

--数据文件命名

The followingtable lists the recommended file naming conventions for database files:

--oracle推荐的命名约定如下表:

Note:

Oracle Managed Files (OMF) and files storedin Oracle Automatic StorageManagement disk groups use different naming conventions.

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

File Type

File Naming Convention

Control files

/h/q/d/control.ctl

Redo log files

/h/q/d/redon.log

Data files

/h/q/d/tn.dbf

The following table describes this syntax:

--上面参数的具体解释:

Variable

Description

h

Oracle base directory

q

A string (typically oradata) distinguishing Oracle data from all other files

d

The value of the DB_NAME initialization parameter (typically, the same as the instance SID for single-instance databases)

t

An Oracle tablespace name

n

A two-digit string

Note:

Do not storefiles other than control files, redo log files, or data files associated withdatabase d in the path /h/q/d.

--主要不要在/h/q/d 目录下存储除控制文件,online redo 和datafile 之外的文件。

Using thisconvention, it is easy to determine the database to which the /u01/app/oracle/oradata/sab/system01.dbf filebelongs.

--使用这种命名约定,可以很容易的辨别文件属于那个实例。

2.4 Separating Segments withDifferent Requirements

Separate groupsof segments with different lifespans, I/O request demands, and backupfrequencies across different tablespaces.

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

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

TableD-6 Special Tablespaces

Tablespace

Required

Description

EXAMPLE

No

The EXAMPLE tablespace used to store the Sample Schemas

SYSAUX

Yes

Auxiliary tablespace to the SYSTEM tablespace

SYSTEM

Yes

Data dictionary segments

TEMP

Yes

Temporary segments

UNDOTBS1

Yes

Used by Oracle to store undo information

USERS

No

Miscellaneous user segments

这里的USERS表空间是我们的默认表空间,关于默认表空间参考:

Oracle 默认表空间(default permanenttablespace) 说明

http://blog.csdn.net/tianlesoftware/article/details/7084700

Creating thesespecial tablespaces is effective because data dictionary segments are neverdropped, and no other segments that can be dropped are allowed in the SYSTEM tablespace.

2.5 Exploiting the Optimal FlexibleArchitecture 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

Directory Structure Syntax

Description

/u[0-9][0-9]

User data directories

/*/home/*

User home directories

/*/app/*

User application software directories

/*/app/applmgr

Oracle applications software subtrees

/*/app/oracle/product

Oracle software subtrees

/*/app/oracle/product/11.2.0

Oracle software subtree for release 11g products

/*/app/oracle/product/11.2.0/db*

Oracle home directories for Oracle Database 11g

/*/app/oracle/product/11.2.0/grid*

Oracle home directory for Oracle Grid Infrastructure 11g for a standalone server, for user oracle

/*/app/oracle/admin/orcl

orcl database administrative subtrees

/*/app/oracle/admin/orcl/arch/*

orcl database archived log files

/*/app/oracle/oradata

Oracle data directories

/*/app/oracle/oradata/orcl/*

orcl database files

/*/app/oracle/oradata/orcl/*.log

orcl database redo log files

2.6 Optimal Flexible ArchitectureFile Mapping

TableD-8 shows a hierarchical file mapping of a sample Optimal FlexibleArchitecture-compliant installation with two Oracle home directories and twodatabases. 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 andthroughput.

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

Directory

Description

/

Root directory

/u01/

User data mount point 1

/u01/app/

Subtree for application software

/u01/app/oracle/

Oracle Base directory

/u01/app/oracle/admin/

Subtree for database administration files

/u01/app/oracle/admin/TAR

Subtree for support log files

/u01/app/oracle/admin/db_name1/

admin subtree for db_name1 database

/u01/app/oracle/admin/db_name2/

admin subtree for db_name2 database

/u01/app/oracle/doc/

Online documentation

/u01/app/oracle/fast_recovery_area/

Subtree for recovery files

/u01/app/oracle/fast_recovery_area/db_name1

Recovery files for db_name1 database

/u01/app/oracle/fast_recovery_area/db_name2

Recovery files for db_name2 database

/u02/app/oracle/oradata

/u03/app/oracle/oradata

/u04/app/oracle/oradata

Oracle data directory

/u01/app/oracle/product/

Distribution files

/u01/app/oracle/product/11.2.0/dbhome_1

Oracle home directory for Oracle Database, for user oracle

/u01/app/oracle/product/11.2.0/grid

Oracle home directory for Oracle Grid Infrastructure for a standalone server, for user oracle

/u01/app/kjf/

Oracle base directory for user kjf

/u01/app/edm/

Oracle base directory for user edm

-------------------------------------------------------------------------------------------------------

AUTOSAE软件配置-达芬奇( DaVinci Configurator)从新建工程开始 方法1,直接使用案例工程,一般SIP包会有一个创建好的案例工程,在这样的路径YOUR_SIP_DIR/Applications/SipAddon/StartApplication下面直接打开这个*.dpa文件即可看到已经预先做好的工程:但是,这个也不是全的,也不一定完全正确,至少MCAL是没有配置好的(MCAL是IC厂商提供的,并不归属SIP包的一部分)。这样就需要你自己去配置你想要的模块,修改里面的错误。 阅读详情

相关推荐

解锁笔记智能对话:手把手配置 Obsidian Copilot 插件与硅基流动模型

本文详细介绍了如何为Obsidian笔记软件配置Copilot插件,并接入硅基流动AI模型,从而为个人知识库添加智能对话能力。通过手把手教程,指导用户完成插件安装、API Key获取、模型配置及索引构建,最终实现基于个人笔记内容的深度语义问答,提升知识管理效率。

corn8的博客 618

ORACLE数据库名词解释

一:首先对几个有关模式对象进行下说明 二:AUTOEXTNED_CLAUSE相关参数的说明及建议 三:STORAGE主要相关参数的说明及建议 四:建表时一些可能影响系统性能的参数的说明 一:首先对几个有关模式对象进行下说明 数据块(block):也叫逻辑块或ORACLE块,它是数据库进行I/O的最小单位。一个数据库块对应硬盘上的一个或多个物理块,它决定于建库时所使...

JYLike97 784

从零开始的计网学习——物理层

计算机网络对于IT人不论是就业还是升学都是核心的一门课程,一起从零开始,学习计算机网络!

Nimrod__的博客 2万+

官方的linux下卸载oracle步骤

5 Removing Oracle SoftwareThis chapter describes how to completely remove all software from an Oracle home directory. See Also: If you want to remove an individual product, refer to the product-...

winie 234

车道线检测1.0(Python+Opencv基础版)

车道线检测是指在道路上自动检测和识别车道线的过程。车道线是道路上的标记,用于指示车辆行驶的方向和位置。 通过对车道线进行检测和识别,自动驾驶和智能驾驶系统可以实现车辆的自动导航、车道保持、车道偏离警告等功能。

Dream_orz的博客 4270

DC综合中set_dft_signal的实战配置与优化策略

本文深入解析了DC综合中set_dft_signal命令的实战配置与优化策略。文章从命令的核心作用出发,详细拆解了-view、-type、-usage等关键参数,并通过扫描使能与时钟门控的实战案例,展示了如何正确配置以实现测试模式下的功耗优化。同时,文章总结了高级优化策略、与低功耗流程的协同方法以及常见错误排查清单,旨在帮助数字芯片设计工程师构建高可测性、低功耗的稳健DFT基础。

weixin_28347369的博客 414

oracle_home环境变量值,ORACLE_HOME环境变量配置阐明

即日有时间对“ORACLE_HOME”环境变量执行了如下测试:[oracle@linux ~]$ export ORACLE_HOME=/u01/app/oracle//product/10.2/db_1[oracle@linux ~]$ sqlplus "/ as sysdba"SQL*Plus: Release 10.2.0.3.0 - Production on Mon Jun 1 13:1...

weixin_42330839的博客 5222

【PVE9.1使用教程】

弹窗代码在 /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js 中,通过 void({…}) 可以让弹窗部分代码不执行,实现删除弹窗的效果。安装过程这里不再赘述,记得不要使用网络版本进行安装,安装的时候不要使用镜像,否则安装过程会很卡。把下面的配置添加进去,允许同一个网段下的所以主机访问/mnt/pve_share文件夹。可以自己搭建也可以去咸鱼购买,本人在咸鱼上面购买的,暂时可用。也可以使用下面的命令,版本号需要自己查看最新的版本号。

weixin_42950821的博客 972

【标准】Oracle Optimal Flexible Architecture(OFA)简介

关于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 Archi...

Askerain`s Blog 699

Smart200 PLC实现Bool信号接通延时、关闭延时作用

解决Smart200 PLC时间继电器和脉冲扫描P或N不能重复使用的问题,用于Bool信号延时接通和延时关闭的作用,可调整时间基数

gk_121的博客 4327

UE5接入在线直播视频源,如hls(m3u8)格式

UE5接入在线直播视频源

专注GIS开发 9522

Eclipse"Warning: The environment variable HOME is not set."

今天一打开Eclipse就发现全部工程都出现了,

冷饮 1万+

AutoSAR系列讲解(入门篇)2.4-Runnables可运行实体

讲解一下Runnable和其工程的实际映射

雪云飞星的博客 3万+

OFA & 登陆方法 & Password file

1. OFA ( Optimal Flexible Architecture )      OFA ivoloved 3 rules :        - Establish a directory structure where any database file can be stored on any disk resource         // 建立目录结构, 使得数据库文件可以

Slow is smooth , Smooth is fast ! ( 点滴回忆 ) 626

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

Oracle OCP笔记(02)数据库环境准备

Oracle OCP笔记(02)数据库环境准备 1.Oracle数据库管理工具     OUI(Oracle Universal Installer)     ·OUI产品清单(inventory)位置       Windows: %SystemRoot\Program files\Oracle\Inventory                HKEY_LOCAL_MACHI

温故而知新 1110

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

oracle-ofa

Optimal Flexible Architecture 完全实现OFA至少需要三个文件系统位于不同的物理设备上,这些物理设备本身没有做条带或镜像。如果这些物理设备要做冗余与吞吐,建议使用一些存储相关的概念与东西,例如:lvm,raid,asm之类的存储技术手段来保障。 OMF  oracle-managed files  即oracle_base/oradata OFA帮助识别oracl...

weixin_33751566的博客 201

lwip-2.0.3

lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

053试题 290 - Optimal Flexible Architecture OFA

题目: 290.What are the recommendations for Oracle Database 11g installation to make it Optimal Flexible Architecture (OFA)-compliant? (Choose all that apply.) A. ORACLE_BASE should be set explicitly. B...

文档搬运工 455

Optimal Flexible Architecture (OFA)简介。

Optimal Flexible Architecture (OFA) A model for organizing mount points, directory structures,and files so that they will be easier to manage, maintain, and back up.优化结构OFA。使用这种结构进行设计会大大简化物理设计中的数据管理

henrybai的专栏--大亨利白--大码 1411

Optimal Flexible Architecture (OFA)

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. Opti

搞怪的索引 1105

Optimal Flexible Architecture

Optimal Flexible Architecture   Oracle的最佳灵活体系结构(Optimal Flexible Architecture,简称OFA),是指Oracle软件和数据库文件及文件夹的命名约定和存储位置规则。可以将它作为一组好的习惯,它使...

weixin_30398227的博客 187

052试题 109 - oracle Flexible Architecture

题目: 109. In a new installation of Oracle Database 11g, you perform these activities: 1: Organize software and data on different subdirectories to avoid poor performance. 2: Use consistent naming conve...

文档搬运工 386

Oracle OCP 1Z0-053 Q290(Optimal Flexible Architecture (OFA))

290.What are the recommendations for Oracle Database 11g installation to make it Optimal Flexible Architecture (O...

congsong2560的博客 147
上一篇: Oracle Q-quote delimiter
下一篇: Oracle:解析OCR与VotingDisk以及其管理
Perry705
博客等级 码龄13年 26粉丝 143原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值