Received: (qmail 11990 invoked from network); 2 Feb 2009 01:21:43 -0600
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; 2 Feb 2009 01:21:43 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 61947B8ED01;
 Mon,  2 Feb 2009 02:21:43 -0500 (EST)
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 18106-09; Mon, 2 Feb 2009 02:21:43 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id CD0A8B8ED85;
 Mon,  2 Feb 2009 02:21:42 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 02 Feb 2009 02:19:35 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E8510B8EAEC	for <oracle-l@freelists.org>; Mon,  2 Feb 2009 02:19:34 -0500 (EST)
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 17415-06 for <oracle-l@freelists.org>;	Mon, 2 Feb 2009 02:19:34 -0500 (EST)
Received: from troll.tpk.net (mail.tpk.net [216.107.198.11])	by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 84B7DB8E440	for <oracle-l@freelists.org>; Mon,  2 Feb 2009 02:19:34 -0500 (EST)
Received: from MWF600XL (216-107-223-2.RightSizing.tpk.static.cust.seg.net [216.107.223.2])	by troll.tpk.net (8.14.2/8.12.11) with ESMTP id n127JS57011412	for <oracle-l@freelists.org>; Mon, 2 Feb 2009 02:19:33 -0500
From: "Mark W. Farnham" <mwf@rsiz.com>
To: "'ORACLE-L'" <oracle-l@freelists.org>
Subject: FW: rman backup slow
Date: Mon, 2 Feb 2009 02:19:10 -0500
Message-ID: <F4E41F17BAD043D980C61B38988266DA@rsiz.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_006B_01C984DC.A30364F0"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-archive-position: 14381
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: mwf@rsiz.com
Precedence: normal
Reply-to: mwf@rsiz.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
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
------=_NextPart_000_006B_01C984DC.A30364F0
Content-Type: text/plain; 
 charset="us-ascii"
Content-Transfer-Encoding: 7bit

oops, forgot to snip small enough for the list.

 

  _____  

From: Mark W. Farnham [mailto:mwf@rsiz.com] 
Sent: Sunday, February 01, 2009 8:31 AM
To: 'robertgfreeman@yahoo.com'; 'p4cldba@gmail.com'
Cc: 'ORACLE-L'
Subject: RE: rman backup slow

 

Aside from all the diagnostic questions, did I miss the part of this thread
where waiting on x$dual was going on?

 

SELECT
TO_CHAR(SYSDATE,:"SYS_B_0",:"SYS_B_1"),TO_CHAR(SYSDATE,:"SYS_B_2",:"SYS_B_3"
),
TO_CHAR(SYSDATE,:"SYS_B_4",:"SYS_B_5") FROM X$DUAL

Appears to depend only on bind variables, and nothing *should* be locking
dual. So either this was a red herring (where it is not really waiting on
the x$dual query, it is just that is the current query) or else something
pretty horrible is going on. So, could you verify right directly on the
instance you are using that that you are sitting waiting on the x$dual
query?

 

If it is not that, then we need to separate out the time to copy at the OS
level from the time to copy via RMAN. First, just time dd <8GB datafile>
/dev/null. That is about the fastest you can read the 8GB, leaving Oracle
out of it altogether. If that looks "bad" check whether something else
besides Oracle is using the pieces of your disk farm where that file or
device is. Many mysterious i/o problems in "Oracle" are solved by the
discovery that something non-Oracle was using the "Oracle" media chain.
Things like some administrator noticing that the half of all the disks you
"destroked" for performance leaving half the drives empty was a neat place
to put other kinds of backups often come to light, or deciding that the disk
acreage you "didn't want" could be used by someone else, and hey, why would
you want to know? You told me to just stripe and mirror it all, so you must
not care. This can happen without affecting daytime performance and only
backups if the activity is only when you're also doing backups. The other
big "invisible to Oracle" thing that can happen is broken RAID-<letter
between E and G>, as properly reference by a BAARF member. If the source
media complex's performance seems "good," then repeat, but this time to a
place on your mediaplex. If that slows it down, you've identified your
non-Oracle performance problem with Oracle, and do a similar search for the
cause of that. If all that shows reasonable performance, then it would
appear you indeed have a problem with the way Oracle is interacting with
your media in the RMAN pathway. Since that uses the database read technology
on the source side, and you have not reported problems with non-backup
performance, I would then move on to Robert's usual fine advice.

 

But I'm still really wondering if the wait time is actually in the x$dual
query. To me that is the elephant in the room we've ignored, and if it is
not that elephant I'd move on to looking for a rat, because you've reported
the problem in a way that makes me think it is a large increase in time
required on a previously satifactorily performing system.

 

Regards,

 

mwf

 

  _____  

<SNIP>

 


------=_NextPart_000_006B_01C984DC.A30364F0
Content-Type: text/html; 
 charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:#993366;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:#993366'>oops, forgot =
to snip
small enough for the list.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:#993366'><o:p>&nbsp;</o=
:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Mark =
W. Farnham
[mailto:mwf@rsiz.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Sunday, February =
01, 2009
8:31 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
'robertgfreeman@yahoo.com';
'p4cldba@gmail.com'<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> 'ORACLE-L'<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: rman backup =
slow</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Aside from all the diagnostic =
questions,
did I miss the part of this thread where waiting on x$dual was going =
on?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>SELECT
TO_CHAR(SYSDATE,:&quot;SYS_B_0&quot;,:&quot;SYS_B_1&quot;),TO_CHAR(SYSDAT=
E,:&quot;SYS_B_2&quot;,:&quot;SYS_B_3&quot;),<br>
TO_CHAR(SYSDATE,:&quot;SYS_B_4&quot;,:&quot;SYS_B_5&quot;) FROM =
X$DUAL<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Appears to depend only on bind variables, and nothing *<b><span
style=3D'font-weight:bold'>should</span></b>* be locking dual. So either =
this was
a red herring (where it is not really waiting on the x$dual query, it is =
just
that is the current query) or else something pretty horrible is going =
on. So, could
you verify right directly on the instance you are using that that you =
are
sitting waiting on the x$dual query?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>If it is not that, then we need to separate out the time to copy =
at the
OS level from the time to copy via RMAN. First, just time dd &lt;8GB =
datafile&gt;
/dev/null. That is about the fastest you can read the 8GB, leaving =
Oracle out
of it altogether. If that looks &#8220;bad&#8221; check whether =
something else
besides Oracle is using the pieces of your disk farm where that file or =
device
is. Many mysterious i/o problems in &#8220;Oracle&#8221; are solved by =
the
discovery that something non-Oracle was using the &#8220;Oracle&#8221; =
media
chain. Things like some administrator noticing that the half of all the =
disks
you &#8220;destroked&#8221; for performance leaving half the drives =
empty was a
neat place to put other kinds of backups often come to light, or =
deciding that
the disk acreage you &#8220;didn&#8217;t want&#8221; could be used by =
someone
else, and hey, why would you want to know? You told me to just stripe =
and
mirror it all, so you must not care. This can happen without affecting =
daytime
performance and only backups if the activity is only when you&#8217;re =
also
doing backups. The other big &#8220;invisible to Oracle&#8221; thing =
that can
happen is broken RAID-&lt;letter between E and G&gt;, as properly =
reference by
a BAARF member. If the source media complex&#8217;s performance seems
&#8220;good,&#8221; then repeat, but this time to a place on your =
mediaplex. If
that slows it down, you&#8217;ve identified your non-Oracle performance =
problem
with Oracle, and do a similar search for the cause of that. If all that =
shows
reasonable performance, then it would appear you indeed have a problem =
with the
way Oracle is interacting with your media in the RMAN pathway. Since =
that uses
the database read technology on the source side, and you have not =
reported
problems with non-backup performance, I would then move on to =
Robert&#8217;s
usual fine advice.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>But I&#8217;m still really wondering if the wait time is =
actually in
the x$dual query. To me that is the elephant in the room we&#8217;ve =
ignored,
and if it is not that elephant I&#8217;d move on to looking for a rat, =
because
you&#8217;ve reported the problem in a way that makes me think it is a =
large
increase in time required on a previously satifactorily performing =
system.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Regards,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>mwf</span></font><font size=3D2 color=3Dnavy face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

</div>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<p class=3DMsoNormal><b><font size=3D2 color=3D"#993366" =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:#993366;font-weight:bo=
ld'>&lt;SNIP&gt;</span></font></b><o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</div>

</div>

</body>

</html>

------=_NextPart_000_006B_01C984DC.A30364F0--


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


