Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: comments on forcedirectio
We experienced significant database wide slowdown for a High Transaction volume Hybrid(OLTP+Batch) type database on setting forcedirectio(Solaris OS) on datafile's partitions with Oracle 8i. Performance returned to normal on removal of the same.
HTH
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of
geraldine_2_at_comcast.net
Sent: Monday, May 02, 2005 8:18 PM
To: oracle-l_at_freelists.org
Subject: RE: comments on forcedirectio
Steve,
Thanks for your response.=20
This is the article I'm referring to -
http://www.netapp.com/tech_library/ftp/3322.pdf
In section 5.2.1 NFS Mount Options on page 20:
"In general, DirectIO should always be enabled for Oracle Redo Logs. The
Oracle=20
Log Writer process issues I/Os larger than the system page size, so
enabling=20
DirectIO allows the Log Writer to efficiently transmit the data to
storage=20
without the latency associated with splitting I/O into page size
transfers. Most=20
database deployments separate the Redo Logfiles onto different file
systems from=20
the datafiles. This makes enabling forcedirectio on Redo Logs simple.
Even if=20
the Redo Logs are on the same file system as the data files, multiple
mount=20
points can be used to access the same file system, one without the
DirectIO=20
option (for datafiles) and one with DirectIO (for the logs)."
It appears that the authors implied the use of forcedirectio only on
redo logs.=20
It was not clear to me why. So far the responses I've got from this list
are=20
database files are written asynchronously so it does not matter if the
directio=20
option is used and using forcedirectio option on netapps might cause
corruption. =20
I can't remember if the other article I read is also on NetApp. =20
Thanks everyone for your responses.
Geraldine
>=20
> I can't comment on forcedirectio sideeffects on NetApp but I don't
think
> I've ever seen any recommendation to avoid fdio on datafiles. While
> looking for this paper (www.sun.com/blueprints/0101/SunOracle.pdf)
which
> I'm sure commented on forcedirectio I found this one, "Understanding
the
> Benefits of Implementing Oracle RAC on Sun"
> (www.sun.com/blueprints/0105/819-1466.pdf). Don't let the RAC label
scare
> you off, there's a couple of interesting tidbits I didn't know.
>=20
> "By default, Solaris file systems break synchronous writes into
8-kilobyte
> units, so a single 64-kilobyte write will be performed as eight
8-kilobyte
> synchronous writes. Therefore, regardless of the size of the Oracle
I/O,
> logs are written to as individual 8-kilobyte transactions, indirectly
> limiting the log throughput to the number of synchronous I/Os the
> underlying device can perform.
>=20
>=20
>=20
>=20
>=20 >=20 >=20
>=20
> --=20
> Stephen Rospo Principal Software Architect
> Vallent Corporation (formerly Watchmark-Comnitel)
> Stephen.Rospo_at_vallent.com (425)564-8145
>=20
>=20
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Wed May 04 2005 - 00:50:54 CDT
![]() |
![]() |