当前位置: 首页 > 图文教程 > 数据库 > Oracle > Raw Partitions and Windows NT

Oracle
Oracle Tuning技巧总结
如何选择Oracle优化器
如何使用Logmnr方法分析数据库日志
保持Oracle数据优良性能的若干诀窍
Oracle 10g R2ORA-3136 错误解决
Oracle中行迁移和行链接的清除及检测
不要忽视Oracle 10g STATSPACK
ORACLE性能调整--统计信息的迁移
用Oracle TimesTen加速Oracle数据库
在Oracle 10g中如何获得索引建议
Oracle中的SQL语句性能调整原则
Oracle Spatial新驱动的添加记录实例
在Linux系统下如何优化Oracle具体步骤
Oracle数据库删除两表中相同数据的方法
Oracle 容灾复制解决方案分析Shar Plex
oltp系统,数据块大小用4k还是8k好?
数据库中如何使用SQL查询连续号码段
在数据字典中直接修改表列的名称和顺序
讲解Oracle里抽取随机数的多种方法
使用一条SQL语句删除表中重复记录

Oracle 中的 Raw Partitions and Windows NT


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-31   浏览: 36 ::
收藏到网摘: n/a

1.0  What is a Raw Partition?

2.0  When to use Raw Partitions  

         2.1 I/O Bound Application  

         2.2 Oracle Parallel Server  

         2.3 Asynchronous I/O (Overlapped I/O)

3.0  Advantages and drawbacks of Raw Partitions compared to File Systems

         3.1 Advantages

         3.2 Drawbacks 

4.0  Setting Up   

         4.1 Calculating The Size of the Partition  

         4.2 Creating the partitions  

         4.3 Specifying in a create tablespace command  

         4.4 Symbolic Links       

                 A) Creating Symbolic Links

                 B) Removing Symbolic Links

5.0  Backup Strategies   

         5.1 OCOPY80.EXE

         5.2 RMAN

6.0  Raw Devices and Export/Import

7.0  How to switch files from a File System to Raw Device or from a Raw

     Device to a File System.

8.0  Remarks

1.0  What is a Raw Partition?

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

Raw partitions or devices are disk partitions that are not mounted and written 

to as a file system, but are accessed via a character device driver.  It is the 

responsibility of the application to organize how the data is written to the 

disk partition.  So a Raw Partition is a segment of disk space pointed by the 

partition table.  There is no file system out there, no directories (no DIR or 

NT Explorer).

Disk Naming

-----------

At startup, Windows NT names each found disk drives following this naming

convention:

     \Device\Harddisk\Partition

     where:  :  the number of the physical drive - starts with 0

             :  the number of the logical number as show in the NT Disk 

                   Adminstrator - starts with 1

     \Device\Harddisk0\Partition1 would typically be the C drive

Raw Partition Definition

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

There are two different types (definition methods) of Raw Partitions

      a) physical disk 

      b) logical disk 

TIP:

Although you actualy could you the physical disk approach, its 

strongly recommended to use the logical disk approach.

a)  Physical disk:

    A physical disk or Partition0 actualy refers to the whole disk

       \Device\Harddisk\Partition0

    When using the Setlinks command on a Dos prompt you will notice that Windows