DBA Tips Archive for Oracle

  


Why does RAC require raw devices?

by Jeff Hunter, Sr. Database Administrator


Contents

  1. Overview
  2. OS Vendors and Cluster Aware File Systems



Overview

Oracle requires raw devices for various reasons. Take for example, Microsoft and its family of operating systems over the years. Nodes cannot mount the NTFS or FAT file systems on more than one node of a cluster.

In Unix, the operating system uses a buffer cache. When a process such as the DBWR issues a unix write system call, the OS does not actually write to the storage system. It buffers the blocks in the file system buffer cache, occasionally synchronizing the storage system. In an environment when processes on multiple nodes of a cluster need to be able to write and read database blocks at will, the Oracle server assumes that when a node has issued a write that it has actually happened, not that it is in a buffer waiting to happen. This is usually known as direct IO.



OS Vendors and Cluster Aware File Systems

Some OS vendors offer certified cluster aware file systems.

For a complete article on this issue, see MetaLink Doc ID: Note:183408.1, "Raw Devices and Cluster Filesystems With Real Application Clusters".



Copyright (c) 1998-2017 Jeffrey M. Hunter. All rights reserved.

All articles, scripts and material located at the Internet address of http://www.idevelopment.info is the copyright of Jeffrey M. Hunter and is protected under copyright laws of the United States. This document may not be hosted on any other site without my express, prior, written permission. Application to host any of the material elsewhere can be made by contacting me at jhunter@idevelopment.info.

I have made every effort and taken great care in making sure that the material included on my web site is technically accurate, but I disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on it. I will in no case be liable for any monetary damages arising from such loss, damage or destruction.

Last modified on
Saturday, 12-Jul-2003 00:00:00 EDT
Page Count: 9165