Received: (qmail 16368 invoked from network); 7 Jul 2009 12:44:56 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-85-25-126-90.inaddr.intergenia.de with SMTP; 7 Jul 2009 12:44:53 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id B45DFC7ED3C;
 Tue,  7 Jul 2009 13:44:51 -0400 (EDT)
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Yf8yafzq7Van; Tue,  7 Jul 2009 13:44:51 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 119C3C7ED3D;
 Tue,  7 Jul 2009 13:44:51 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 07 Jul 2009 13:42:34 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 51377C7E9CA	for <oracle-l@freelists.org>; Tue,  7 Jul 2009 13:42:34 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])	by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)	with ESMTP id 6+5laj9rWesa for <oracle-l@freelists.org>;	Tue,  7 Jul 2009 13:42:34 -0400 (EDT)
Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BDA27C7E8BC	for <oracle-l@freelists.org>; Tue,  7 Jul 2009 13:42:33 -0400 (EDT)
Received: by fxm7 with SMTP id 7so4428922fxm.34        for <oracle-l@freelists.org>; Tue, 07 Jul 2009 10:42:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=gamma;        h=domainkey-signature:mime-version:received:in-reply-to:references         :date:message-id:subject:from:to:cc:content-type;        bh=szQVWlVKuPbNX71PEeqBr/cYbB+CNUT51Jz1zL/axx0=;        b=Ih/MLl1GgLWqNi45bUVp7y22IDvaQi+NWo+/dayAW85iByuvXjEHSui3HYEKeMzDvD         /1epmgAKeQ19s4ubwwILoFWECOpYXY3vYZVEX+lzfwvamlXqAauUQrilcmF4I45IXidH         tpzT4sQkmB40NYqtZbtoR0y5HwkDUhqODS448=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;        h=mime-version:in-reply-to:references:date:message-id:subject:from:to         :cc:content-type;        b=nU2Y1rzWbLJ9kp2/zWEFalOA/3EiHvWhundgjhNwsxZh2nZxmtO2VpdJqLZlM30Y/P         UY9rxbliEAEBl5vFehHeObfNWcJiRQeoAPgR0c+9cDaJU+/EcLs3IIH5Y9LMQf+schLt         W62RRgZG1/+9uqO6mtt5YWwQUGD3yDQWw79s4=
MIME-Version: 1.0
Received: by 10.223.110.211 with SMTP id o19mr2988947fap.57.1246988552322; 	Tue, 07 Jul 2009 10:42:32 -0700 (PDT)
In-Reply-To: <BAY117-W34CE0A5A102BA3E2AAF2419B280@phx.gbl>
References: <4A537289.2090102@lanl.gov>	 <582568.13479.qm@web58704.mail.re1.yahoo.com>	 <6AFC12B9BFCDEA45B7274C534738067F1A9A5716@AAPQMAILBX02V.proque.st>	 <BAY117-W34CE0A5A102BA3E2AAF2419B280@phx.gbl>
Date: Tue, 7 Jul 2009 12:42:32 -0500
Message-ID: <ad3aa4c90907071042g16b78eabiea8f55ce48ea7e1d@mail.gmail.com>
Subject: Re: archivelog performance issues
From: Andrew Kerber <andrew.kerber@gmail.com>
To: rac_oracledba@msn.com
Cc: oracle-l@freelists.org
Content-Type: multipart/alternative; boundary=001636c5bb13b33e29046e212585
X-archive-position: 19152
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: andrew.kerber@gmail.com
Precedence: normal
Reply-to: andrew.kerber@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
--001636c5bb13b33e29046e212585
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Uh, Yes.  If you are not in archive log mode, the redo log is not copied to
the archivelog, so there is no overhead on the switch.  When you are not in
archive log mode, you just switch to the next redo log and keep going,
overwriting what was in the log previously.

On Tue, Jul 7, 2009 at 12:23 PM, Richard Croasmun <rac_oracledba@msn.com>wrote:

>
> On Tue, 7 Jul 2009 12:31:43 -0400 Mark.Bobak@proquest.com wrote:
>
>
>      Some things to check before you switch to archive log mode:
>
>
>
> -                     How frequently are you seeing log switches, at peak
> load time?
>
>
>
>                  Size your online redo so that you get a switch about every
> 15-30 minutes, at peak.
>
>                   If your load variaes greatly from peak to non-peak, you
> may want to use
>
>                  archive_lag_target to get more frequent switches during
> off-peak times.
>
>
>
> -                    Make sure you have at least three redo log groups.
>
>
>
> I agree 100% with those that state log archive mode should be based on
> recoverability, not performance.  In addition, from a performance point of
> view, it seems to me that the only additional overhead is a copy of the
> online redo log to an archive log for each log switch.  I would say that all
> the points about log size, frequency of log switches, number of online logs
> etc would apply even when the DB is NOT in archive log mode.  The only
> exception would be having enough online logs (or large enough logs) such
> that the copy of a particular log finishes before the database wants to use
> that online redo log again.  Obviously, if the DB is in archive log mode,
> the overhead of the copy on the DB could be reduced by placing the archive
> logs on separate disks from the database and online logs to minimize I/O
> contention. An last, but not least, don't let the archive log area fill
> up!!  ;-)  Am I missing anything here?
>
>
>
> Rick
>
>
>
>



-- 
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.'

--001636c5bb13b33e29046e212585
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Uh, Yes.=A0 If you are not in archive log mode, the redo log is not copied =
to the archivelog, so there is no overhead on the switch.=A0 When you are n=
ot in archive log mode, you just switch to the next redo log and keep going=
, overwriting what was in the log previously.<br>
<br><div class=3D"gmail_quote">On Tue, Jul 7, 2009 at 12:23 PM, Richard Cro=
asmun <span dir=3D"ltr">&lt;<a href=3D"mailto:rac_oracledba@msn.com">rac_or=
acledba@msn.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8=
ex; padding-left: 1ex;">




<div><div class=3D"im">
<br>

On Tue, 7 Jul 2009 12:31:43 -0400 <a href=3D"mailto:Mark.Bobak@proquest.com=
" target=3D"_blank">Mark.Bobak@proquest.com</a> wrote:<br>=A0<br><br>
<p><span style=3D"font-size: 11pt; color: rgb(31, 73, 125);">=A0=A0=A0=A0 S=
ome things to check before you switch to archive log mode:</span></p>
<p><span style=3D"font-size: 11pt; color: rgb(31, 73, 125);">=A0</span></p>
<p style=3D"margin-left: 20.25pt; text-indent: -0.25in;"><span style=3D"fon=
t-size: 11pt; color: rgb(31, 73, 125);"><span>-<span style=3D"font-family: =
&#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-w=
eight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none;=
 font-stretch: normal;">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 </span></span></span><span style=3D"font-size: 11pt; color: rgb(3=
1, 73, 125);">How frequently are you seeing log switches, at peak load time=
?=A0 </span></p>

<p style=3D"margin-left: 20.25pt; text-indent: -0.25in;"><span style=3D"fon=
t-size: 11pt; color: rgb(31, 73, 125);"></span>=A0</p>
<p style=3D"margin-left: 20.25pt; text-indent: -0.25in;"><span style=3D"fon=
t-size: 11pt; color: rgb(31, 73, 125);">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 Size your online redo so that you get a switch about every =
15-30 minutes, at peak.</span></p>

<p style=3D"margin-left: 20.25pt; text-indent: -0.25in;"><span style=3D"fon=
t-size: 11pt; color: rgb(31, 73, 125);">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0</=
span><span style=3D"font-size: 11pt; color: rgb(31, 73, 125);"><span><span =
style=3D"font-family: &#39;Times New Roman&#39;; font-style: normal; font-v=
ariant: normal; font-weight: normal; font-size: 7pt; line-height: normal; f=
ont-size-adjust: none; font-stretch: normal;">=A0=A0=A0=A0=A0=A0 </span></s=
pan></span><span style=3D"font-size: 11pt; color: rgb(31, 73, 125);">If you=
r load variaes greatly from peak to non-peak, you may want to use</span></p=
>

<p style=3D"margin-left: 20.25pt; text-indent: -0.25in;"><span style=3D"fon=
t-size: 11pt; color: rgb(31, 73, 125);">=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=
=A0=A0=A0=A0 archive_lag_target to get more frequent switches during off-pe=
ak times.</span></p>
<p style=3D"margin-left: 20.25pt; text-indent: -0.25in;"><span style=3D"fon=
t-size: 11pt; color: rgb(31, 73, 125);"></span>=A0</p>
<p style=3D"margin-left: 20.25pt; text-indent: -0.25in;"><span style=3D"fon=
t-size: 11pt; color: rgb(31, 73, 125);"><span>-<span style=3D"font-family: =
&#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-w=
eight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none;=
 font-stretch: normal;">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 </span></span></span><span style=3D"font-size: 11pt; color: rgb(31, =
73, 125);">Make sure you have at least three redo log groups.</span></p>

<p style=3D"margin-left: 20.25pt; text-indent: -0.25in;"><span style=3D"fon=
t-size: 11pt; color: rgb(31, 73, 125);"></span>=A0</p></div><span style=3D"=
font-size: 10pt; color: rgb(68, 68, 68); font-family: Verdana;">
<p style=3D"background: white none repeat scroll 0% 0%; -moz-background-cli=
p: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inli=
ne-policy: -moz-initial;"><span style=3D"font-size: 10pt; color: rgb(68, 68=
, 68); font-family: Verdana;">I agree 100% with those that state log archiv=
e mode should be based on recoverability, not performance.=A0 In addition, =
from a performance=A0point of view, it seems to me that the only additional=
 overhead is a copy of the online redo log to an archive log for each log s=
witch.=A0 I would say that all the points about log size, frequency of log =
switches, number of online logs etc=A0would apply=A0even when the DB is NOT=
 in archive log mode.<span>=A0 </span>The only exception would be having en=
ough online logs (or large enough logs) such that the copy of a particular =
log finishes before the database wants to use that online redo log again.=
=A0 Obviously, if=A0the DB is in archive log mode, the overhead of the copy=
 on the DB could be reduced by placing the archive logs on separate disks f=
rom the database and online logs to minimize I/O contention. An last, but n=
ot least, don&#39;t let the archive log area fill up!!=A0 ;-)=A0 Am I missi=
ng anything=A0here?</span></p>

<p style=3D"background: white none repeat scroll 0% 0%; -moz-background-cli=
p: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inli=
ne-policy: -moz-initial;"><span style=3D"font-size: 10pt; color: rgb(68, 68=
, 68); font-family: Verdana;">=A0</span></p>

<p style=3D"background: white none repeat scroll 0% 0%; -moz-background-cli=
p: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inli=
ne-policy: -moz-initial;"><span style=3D"font-size: 10pt; color: rgb(68, 68=
, 68); font-family: Verdana;">Rick</span></p>

<p style=3D"background: white none repeat scroll 0% 0%; -moz-background-cli=
p: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inli=
ne-policy: -moz-initial;"></p></span><br>=A0</div>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Andrew W. Kerber<br><br=
>&#39;If at first you dont succeed, dont take up skydiving.&#39;<br>

--001636c5bb13b33e29046e212585--
--
http://www.freelists.org/webpage/oracle-l


