Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Q: Filesystem choice for log_archive_dest

Q: Filesystem choice for log_archive_dest

2005-06-23       - By John Smiley

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

I don't think buffered I/O is going to help you. For any files associated
with the database, including archived redo logs, you want the data written
to the disk (physically or in a protected cache) when the OS tells Oracle
that the I/O write request is complete. Even with a buffered file system,
Oracle will buffer the reads, but "write through" the buffer for writes to
make sure the data is really on disk.
Find out what type of disks the archivelog dest file system is built on.
Then work with your SA or storage engineer to provide you with dedicated
disks, add spindles, or move to a RAID implemention that handles writes more
efficiently (say RAID 5 -> RAID 1+0).
John Smiley
Technical Management Consultant
TUSC, Inc.
On 6/23/05, Radoulov, Dimitre <cichomitiko@(protected)> wrote:
>
> Thanks,
> the problem is that now I'm working on a system with direct IO activated
> on the log_archive_dest filesystem (the SA told me that this was the
> workaroud for previous "performance problems")
>  OS: Solaris 8
> Oracle: 8.1.7.4 <http://8.1.7.4/>
> OFA(including log_arch_dest): vxfs fstype
> mount output:
> /smsp_ofa on /dev/vx/dsk/osmspdg/smsp_ofa
> read/write/setuid/mincache=direct/convosync=direct/delaylog/largefiles
/ioerror=mwdisable/dev=449022b
>
>  ... and it's now that the arch processes are really not able to keep up
> with the log file switches: "cannot allocate new log" messages + shutdown
> abort from the SUN Cluster fault monitor for timeout ...
>   So I was wondering, could the direct IO be beneficial for the
> log_archive_dest filesystem in some cases?
>    Cheers
> Dimitre
>    
> -- -- Original Message -- --
> *From:* John Smiley <jrsmiley@(protected)>
> *To:* cichomitiko@(protected)
> *Cc:* oracle-l@(protected)
> *Sent:* Thursday, June 23, 2005 5:36 PM
> *Subject:* Re: Q: Filesystem choice for log_archive_dest
>
>  As long as your archiver processes are able to keep up with the log file
> switches, it doesn't matter what type of filesystem they're on. If you start
> seeing the archiver lag behind, or worse, you system comes to a screeching
> halt because it can't perform a log switch, you can increase the number of
> archive log processes (if the disks supporting the log archive dest(s) can
> handle more load) or store the archive logs on faster I/O. Typically this
> takes the form of LUNs on a RAID 1+0 using your file system of choice. For
> best performance, give the archivelogs their own set of disks.
>  John Smiley
> Technical Management Consultant
> TUSC, Inc.
>
>  On 6/23/05, Radoulov, Dimitre <cichomitiko@(protected)> wrote:
> >
> > Hi,
> > could anyone provide guidelines for the log archive destination
> > filesystem's/IO type choice (both MS and *nix solutions would be
> > interesting)?
> >    Thanks,
> > Dimitre
> >  
>
>

<div>I don't think buffered I/O is going to help you.&nbsp; For any files
associated with the database, including archived redo logs, you want the data
written to the disk (physically or in a protected cache) when the OS tells
Oracle that the I/O write request is complete.&nbsp; Even with a buffered file
system, Oracle will buffer the reads, but &quot;write through&quot; the buffer
for writes to make sure the data is really on disk.
</div>
<div>&nbsp;</div>
<div>Find out what type of disks the archivelog dest file system is built on.
&nbsp; Then work with your SA or storage engineer to provide you with dedicated
disks, add spindles, or move to a RAID implemention that handles writes more
efficiently (say RAID 5 -&gt; RAID 1+0).
</div>
<div>&nbsp;</div>
<div>John Smiley</div>
<div>Technical Management Consultant</div>
<div>TUSC, Inc.<br>&nbsp;</div>
<div><span class="gmail_quote">On 6/23/05, <b class="gmail_sendername">Radoulov
, Dimitre</b> &lt;<a href="mailto:cichomitiko@(protected)">cichomitiko@(protected)<
/a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">
<div><font face="Arial" size="2">Thanks,</font></div>
<div><font face="Arial" size="2">the problem is that now I'm working on a
system with direct IO activated on the log_archive_dest filesystem (the SA told
me that this was the workaroud for previous &quot;performance problems&quot;)
</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">OS: Solaris 8</font></div>
<div><font face="Arial" size="2">Oracle: <a onclick="return top.js.OpenExtLink
(window,event,this)" href="http://8.1.7.4/" target="_blank">8.1.7.4</a></font><
/div>
<div><font face="Arial" size="2">OFA(including log_arch_dest): vxfs fstype <
/font></div>
<div><font face="Arial" size="2">mount output:</font></div>
<div><font face="Arial" size="2">/smsp_ofa on /dev/vx/dsk/osmspdg/smsp_ofa read
/write/setuid/mincache=direct/convosync=direct/delaylog/largefiles/ioerror
=mwdisable/dev=449022b </font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">... and it's now that the arch processes are
really not able to keep up with the log file switches: &quot;cannot allocate
new log&quot; messages + shutdown abort from the SUN Cluster fault monitor for
timeout ...
</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">So I was wondering, could the direct IO be
beneficial for the log_archive_dest filesystem in some cases?&nbsp;&nbsp;</font
></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2"></font><font face="Arial" size="2"></font>
<font face="Arial" size="2"></font><font face="Arial" size="2"></font>&nbsp;<
/div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Cheers</font><br><span class="sg">Dimitre <
/span></div>
<div><span class="e" id="q_104a9f1b978f28c0_3">
<div>&nbsp;</div>
<div>&nbsp;</div>
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<div style="FONT: 10pt arial">-- -- Original Message -- -- </div>
<div style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><b>From:</b> <a title=
"jrsmiley@(protected)" onclick="return top.js.OpenExtLink(window,event,this)" href
="mailto:jrsmiley@(protected)" target="_blank">John Smiley</a> </div>

<div style="FONT: 10pt arial"><b>To:</b> <a title="cichomitiko@(protected)"
onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cichomitiko
@(protected)" target="_blank">cichomitiko@(protected)</a> </div>
<div style="FONT: 10pt arial"><b>Cc:</b> <a title="oracle-l@(protected)"
onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:oracle-l
@(protected)" target="_blank">oracle-l@(protected)</a> </div>
<div style="FONT: 10pt arial"><b>Sent:</b> Thursday, June 23, 2005 5:36 PM</div>
<div style="FONT: 10pt arial"><b>Subject:</b> Re: Q: Filesystem choice for log
_archive_dest</div>
<div><br>&nbsp;</div>
<div>As long as your archiver processes are able to keep up with the log file
switches, it doesn't matter what type of filesystem they're on.&nbsp; If you
start seeing the archiver lag behind, or worse, you system comes to a
screeching halt because it can't perform a log switch, you can&nbsp;increase
the number of archive log processes (if&nbsp;the&nbsp;disks supporting the log
archive dest(s) can handle more load) or&nbsp;store the archive logs on faster
I/O.&nbsp; Typically this takes the form of LUNs on a RAID 1+0 using your file
system of choice.&nbsp; For best performance, give the archivelogs their own
set of disks.
</div>
<div>&nbsp;</div>
<div>John Smiley</div>
<div>Technical Management Consultant</div>
<div>TUSC, Inc.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/23/05, <b class="gmail_sendername">Radoulov
, Dimitre</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href
="mailto:cichomitiko@(protected)" target="_blank">cichomitiko@(protected)
</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">
<div><font face="Arial" size="2">Hi,</font></div>
<div><font face="Arial" size="2">could&nbsp;anyone&nbsp;provide guidelines for
the log archive destination filesystem's/IO type choice (both MS and *nix&nbsp
;solutions would be interesting)?</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div>Thanks,<br>Dimitre </div>
<div>&nbsp;</div>
<div>&nbsp;</div></blockquote></div><br></blockquote></span></div></blockquote>
</div><br>