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 advantages are important:sql
Structured organization of directories and files, and consistent naming for database files simplify database administration.数据库
Distribution of I/O across multiple disks prevents performance bottlenecks caused by multiple read or write commands issued simultaneously to a single drive.服务器
Distribution of applications across multiple disks safeguards against database failures.oracle
Login home directories are not at risk when database administrators add, move, or delete Oracle home directories.app
Multiple databases, of different versions, owned by different users can coexist concurrently.ide
Software upgrades can be tested in an Oracle home in a separate directory from the Oracle home where your production database is located.spa
ORACLE OFA:操作系统
OFA整体结构分两层,一层是software-oracle software,一层是Files(database)
software目录结构
oracle_base/--------------------------------------起名最多
/product------------------------------------不少省略
/release_number--------------------这个通常做为Oracle_home
/bin
/dbs--------------------------------9i spfile默认位置,8i通常同时连接到/admin/pfile
/rdbms
/sqlplus
/admin
/inst_name-----------------不一样的实例这个目录能够多个
/pfile
/dump....orm
Files目录结构
oradata/
db01/------------------------------------database db01
system01.dbf
confrol01.ctl
redo0101.log
db02/------------------------------------database db02对象
OFA只是oracle公司推荐的一种在服务器上安装oracle数据库系统的目录规划,以便于作维护。要点就是,整个系统能够分为产品、每一个实例的配置文件、数据库文件三部分,分别放在不一样的目录下。
OFA的方法包括如下三条原则:
一:建立一个有续的操做系统目录结构,在此目录下存储文件能够存储在任何一个磁盘里.
命名可能存放oracle的全部设备,在以设备为单位来指定设备的时候能够用同配符或者相似的方法.
在每一个设备的同一级目录下明确的建立一个用于存储oracle数据的目录.
二:根据不一样的用途和特征,把段(数据对象)分红组分三到不一样的表空间中.
根据碎块特征,把不一样组的数据对象分散到不一样表空间中(例如,不要将数据段和回滚段放在一块儿).
根据对磁盘资源的竞争使用状态,把不一样组的段分散到不一样的表空间中(例如,不要把数据和索引放在一块儿).
根据所表明对象的不一样行为特征,把不一样组的段分散到不一样的表空间中 (例如,不要把须要每日一次的表和须要每一年备份依次的表放在同一个表空间中).
三 把数据库足见分散到不一样的磁盘空间中,使数据库的可靠性和运行效率最大化.注意在RAID环境下不要考虑把数据文件分散到在多个控制器组中.
数据库控制文件至少要在三个不容物理磁盘阵列中分别有三个可用的副本.
把那些存储了抢夺磁盘资源的数据的表空间分散在不一样的物理磁盘上(还应该考虑到磁盘控制器的使用状况).
http://hi.baidu.com/bystander1983/item/b3430137e11bc2322f20c459