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

Oracle
Oracle归档模式
Oracle存储过程创建和使用举例
通过JDBC连接oracle数据库的十大技巧
如何开发ORACLE存储过程
Java调用Oracle存储过程
Oracle性能优化
几种oracle数据库恢复
如何开发ORACLE存储过程
为Oracle数据库创建用户
用Quick Slice获取Oracle进程的线程状态
Oracle数据库高性能秘密之数据高速缓存
Oracle中的rownum和rowid
Oracle表段中的高水位线HWM
提高Oracle性能--如何走索引
oracle增加和修改数据文件
oracle移植到mysql注意事项
Oracle的几个概念:数据库名,全局数据库名,SID,实例,命名空间,schema
查询Oracle的BLOB类型
Oracle备份恢复四(RMAN备份)
如何彻底删除oracle

Oracle 中的 Raw Partitions and Windows NT


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-31   浏览: 27 ::
收藏到网摘: 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