From oracle-l-bounce@freelists.org  Wed Mar  3 17:53:38 2004
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air189.startdedicated.com (root@localhost)
 by orafaq.com (8.11.6/8.11.6) with ESMTP id i23Nrax19256
 for <oracle-l@orafaq.com>; Wed, 3 Mar 2004 17:53:36 -0600
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i23NrVo19248
 for <oracle-l@orafaq.com>; Wed, 3 Mar 2004 17:53:32 -0600
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id B3BBE39516D; Wed,  3 Mar 2004 18:52:18 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 03 Mar 2004 18:51:13 -0500 (EST)
X-Original-To: oracle-l@freelists.org
Delivered-To: oracle-l@freelists.org
Received: from ddbcinc.com (unknown [216.222.6.50])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7192D394EE6
 for <oracle-l@freelists.org>; Wed,  3 Mar 2004 18:51:08 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4017B.666CA87E"
Subject: RE: copy export plan from one database to another
Date: Wed, 3 Mar 2004 16:58:18 -0700
Message-ID: <87E9F113CEF1D211A4C3009027301874195CCF@ddbcinc.ddbc.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: copy export plan from one database to another
thread-index: AcQBeYxaQv13LJHtQGiknrR+CVNrmwAAP1lw
From: "Justin Cave (DDBC)" <jcave@ddbcinc.com>
To: <oracle-l@freelists.org>
X-archive-position: 269
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: jcave@ddbcinc.com
Precedence: normal
Reply-To: oracle-l@freelists.org
X-list: oracle-l
------_=_NextPart_001_01C4017B.666CA87E
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

A few options-

=20

1)       You can use dbms_stats to export & import statistics from dev =
or test into production

2)   You can use optimizer plan stability/ stored outlines to stabilize =
a single execution plan.

=20

Justin Cave

Distributed Database Consulting, Inc.

http://www.ddbcinc.com/askDDBC

________________________________

From: oracle-l-bounce@freelists.org =
[mailto:oracle-l-bounce@freelists.org] On Behalf Of Browett, Darren
Sent: Wednesday, March 03, 2004 4:45 PM
To: oracle-l@freelists.org
Subject: copy export plan from one database to another

=20

Hi there,=20

We are in a bit of a panic right now, and I am busily searching the =
manuals,=20

But is it possible to copy the explain plan that looks good in your =
dev/test database to the production=20
database and force your production database to use that explain plan ??=20

I will figure out what went wrong with the production plan once the =
panic is over.=20

Thanks=20

Darren=20

-------------------------------------------------------------------------=
-------------------------------------------------

Darren Browett P.Eng                                            This =
message was transmitted=20
Data Administrator                                              using =
100% recycled electrons=20
Information and Communication Technology=20
City of Coquitlam=20
P:(604)927 - 3614=20
E:dbrowett@coquitlam.ca=20
-------------------------------------------------------------------------=
--------------------------------------------------=20

=20


------_=_NextPart_001_01C4017B.666CA87E
Content-Type: text/html; charset="iso-8859-1"
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:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<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]-->
<title>copy export plan from one database to another</title>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PlaceName"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</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:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:970398977;
	mso-list-type:hybrid;
	mso-list-template-ids:-1311467564 67698705 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-text:"%1\)";
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>

</head>

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

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>A few =
options-<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-left:.5in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'><span style=3D'mso-list:Ignore'>1)<font size=3D1 =
face=3D"Times New Roman"><span
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></font></span></span></font><![endif]><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'>You can use dbms_stats to export &amp; import statistics =
from dev
or test into production<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-indent:.25in'><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>2) =A0 You
can use optimizer plan stability/ stored outlines to stabilize a single
execution plan.<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>

<p class=3DMsoNormal><st1:place w:st=3D"on"><st1:PlaceName =
w:st=3D"on"><font size=3D2
  color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
  color:navy'>Justin</span></font></st1:PlaceName><font size=3D2 =
color=3Dnavy
 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'> <st1:PlaceName
 w:st=3D"on">Cave</st1:PlaceName></span></font></st1:place><font =
color=3Dnavy><span
style=3D'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'>Distributed Database Consulting, =
Inc.</span></font><font
color=3Dnavy><span style=3D'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'>http://www.ddbcinc.com/askDDBC</span=
></font><o:p></o:p></p>

</div>

<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'>
oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Browett, Darren<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, March =
03, 2004
4:45 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
oracle-l@freelists.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> copy export plan =
from one
database to another</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><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Hi
there,</span></font> <o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>We
are in a bit of a panic right now, and I am busily searching the =
manuals, </span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>But
is it possible to copy the explain plan that looks good in your dev/test
database to the production</span></font> <br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>database
and force your production database to use that explain plan =
??</span></font> <o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>I
will figure out what went wrong with the production plan once the panic =
is
over.</span></font> <o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Thanks
</span></font><o:p></o:p></p>

<p><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Darren</span></font>
<o:p></o:p></p>

<p><font size=3D2 face=3D"Times New Roman"><span =
style=3D'font-size:10.0pt'>----------------------------------------------=
-------------------------------------------------------------------------=
---</span></font><o:p></o:p></p>

<p><font size=3D2 face=3D"Times New Roman"><span =
style=3D'font-size:10.0pt'>Darren
Browett P.Eng &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This message was =
transmitted</span></font>
<br>
<font size=3D2><span style=3D'font-size:10.0pt'>Data
Administrator&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
using 100% recycled electrons </span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>Information and =
Communication
Technology</span></font> <br>
<font size=3D2><span style=3D'font-size:10.0pt'>City of Coquitlam =
</span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>P:(604)927 - 3614 =
</span></font><br>
<font size=3D2><span style=3D'font-size:10.0pt'>E:dbrowett@coquitlam.ca =
</span></font><br>
<font size=3D2><span =
style=3D'font-size:10.0pt'>----------------------------------------------=
-------------------------------------------------------------------------=
----
</span></font><o:p></o:p></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'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C4017B.666CA87E--
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

