Solaris ufs to raw w/ oracle question

Albertson, Brett ncsa-discussion@ncsysadmin.org
Tue, 4 Feb 2003 16:28:23 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2CC94.586DEB60
Content-Type: text/plain;
	charset="iso-8859-1"


> third, convince DBA's boss that raw isn't going to
> provide much better performance in today's world, and
> this is a silly idea. 


Amen!  There is exactly one reason to use raw.  That is, the elimination of
the double-buffering the Operating System does in memory to reduce the
number of disk accesses.  Oracle ignores the buffer in memory (it doesn't
trust it).  Therefore, this extra memory copy is wasted.

This same thing can be accomplished on UFS in Solaris 2.6 and above by
mounting your filesystems with the "forcedirectio" option.  See the manpage
for mount_ufs.

Reasons not to use raw:
1. can't backup files to tape
2. can't copy or move files
3. easy to forget a partition is used for raw and use it for some other
purpose, thus destroying the data
4. can't use many oracle tools that depend on files

------_=_NextPart_001_01C2CC94.586DEB60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: Solaris ufs to raw w/ oracle question</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>&gt; third, convince DBA's boss that raw isn't going =
to</FONT>
<BR><FONT SIZE=3D2>&gt; provide much better performance in today's =
world, and</FONT>
<BR><FONT SIZE=3D2>&gt; this is a silly idea. </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Amen!&nbsp; There is exactly one reason to use =
raw.&nbsp; That is, the elimination of the double-buffering the =
Operating System does in memory to reduce the number of disk =
accesses.&nbsp; Oracle ignores the buffer in memory (it doesn't trust =
it).&nbsp; Therefore, this extra memory copy is wasted.</FONT></P>

<P><FONT SIZE=3D2>This same thing can be accomplished on UFS in Solaris =
2.6 and above by mounting your filesystems with the =
&quot;forcedirectio&quot; option.&nbsp; See the manpage for =
mount_ufs.</FONT></P>

<P><FONT SIZE=3D2>Reasons not to use raw:</FONT>
<BR><FONT SIZE=3D2>1. can't backup files to tape</FONT>
<BR><FONT SIZE=3D2>2. can't copy or move files</FONT>
<BR><FONT SIZE=3D2>3. easy to forget a partition is used for raw and =
use it for some other purpose, thus destroying the data</FONT>
<BR><FONT SIZE=3D2>4. can't use many oracle tools that depend on =
files</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2CC94.586DEB60--