<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html 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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
 
 
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C0FEF6.202290C0">
<title>Performance Update to RSWWERRE</title>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:647 0 0 0 159 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:553679495 -2147483648 8 0 66047 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p
        {margin-right:0in;
        mso-margin-top-alt:auto;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle16
        {mso-style-type:personal-reply;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:blue;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
 
<body lang=3DEN-US style=3D'tab-interval:.5in'>
 
<div class=3DSection1>
 
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>H=
i Brad,<o:p></o:p></span></font></span></p>
 
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><=
![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=
 
 
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>W=
e are
currently on 4.0b and RSWWERRE is using index C as it should.<span
style=3D"mso-spacerun: yes">&nbsp; </span>When you run the SQL trace =
and do an
Explain SQL on the select statement does it say that performance is bad =
because
no index is used?<span style=3D"mso-spacerun: yes">&nbsp; </span>If so, =
then I
would recommend having the basis folks update the database =
statistics.<o:p></o:p></span></font></span></p>
 
<p class=3DMsoNormal><span class=3DEmailStyle16><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><=
![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=
 
 
<p class=3DMsoAutoSig><!--[if supportFields]><span =
class=3DEmailStyle16><font=20
size=3D2 color=3Dblue face=3DArial><span style=3D'font-size:10.0pt;mso-b=
idi-font-size:
12.0pt;font-family:Arial'><span =
style=3D'mso-element:field-begin'></span><span=20
style=3D"mso-spacerun: yes">&nbsp;</span>AUTOTEXTLIST \s &quot;E-mail=20
Signature&quot; <span =
style=3D'mso-element:field-separator'></span></span></font></span><![end=
if]--><font
size=3D2 color=3Dblue face=3D"Century Gothic"><span =
style=3D'font-size:10.0pt;
mso-bidi-font-size:12.0pt;font-family:"Century =
Gothic";color:blue'>Kenny
Quenzer</span></font><font size=3D2 color=3Dblue face=3D"Century =
Gothic"><span
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Century=
 Gothic";
color:blue;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
 
<p class=3DMsoNormal><!--[if supportFields]><span =
class=3DEmailStyle16><font=20
size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'><span =
style=3D'mso-element:field-end'></span></span></font></span><![endif]-->=
<span
class=3DEmailStyle16><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>=
 
 
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblack
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Schroeter, Brad
[mailto:BSchroeter@ti.com]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, June =
27, 2001
10:14 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
SAP-WUG@MITVMA.MIT.EDU<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Performance =
Update to
RSWWERRE</span></font></p>
 
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></p>
 
<p style=3D'margin-left:.5in'><font size=3D2 color=3Dblack =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:black'>I am in the =
process of
implementing note 136887 (Performance RSWWERRE with Cost Based
Optimizer).&nbsp; We're on 4.0B and Oracle 8.0.4.3 (we're supposed to =
be
upgrading to 8.1.7 in August/September).&nbsp; In the note it says =
&quot;that
you must possibly update the database statistics so that your index =
works
correctly (see note 72873)&quot;.&nbsp; I've talked to our Basis folks =
and they
don't currently do any reorgs on our system due to the size (we're the =
smaller
of two systems within our company and we normally run without any =
problems) but
that may change in the future.</span></font><font color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font>=
</p>
 
<p style=3D'margin-left:.5in'><font size=3D2 color=3Dblack =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:black'>After =
implementing the
note I ran a test of RSWWERRE with the SQL trace turned on.&nbsp; I can =
see
that instead of using index SWWWIHEAD~C (which it's supposed to use), =
it's
doing a full table scan.&nbsp; It's happening on &quot;SELECT * FROM =
SWWWIHEAD
INTO TABLE WI_ERRORS WHERE WI_TYPE EQ WI_BATCH AND WI_STAT EQ
WI_STATUS_STARTED&quot; (wi_batch =3D 'B' and wi_status_started =3D
'STARTED').&nbsp; Does anyone have an idea why the index would not be =
used?</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font>=
</p>
 
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black'><![if =
!supportEmptyParas]>&nbsp;<![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font>=
</p>
 
<p style=3D'margin-left:.5in'><font size=3D2 color=3Dblack =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:black'>Thanks,</span><=
/font><font
color=3Dblack><span style=3D'color:black'> <br>
</span></font><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;color:black'>Brad</span></font><font =
color=3Dblack><span
style=3D'color:black'> </span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></p>
 
</div>
 
</body>
 
</html>