Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: copy export plan from one database to another

RE: copy export plan from one database to another

From: Browett, Darren <dbrowett_at_coquitlam.ca>
Date: Wed, 3 Mar 2004 15:56:31 -0800
Message-ID: <8423DAC11EF82D469CF20CE341CC4EDF02C924B2@EXCHANGE.private.coquitlam.bc.ca>


Thanks for the info Juan.  

For the last couple of months I had been using "gather_schema_stats" with the "gather auto" option, turns out this doesn't do anything if you don't have monitoring on for the table, so I ran it with just "gather" and now a peoplesoft query that took 1 secs, takes 10 secs and therefore a query that takes 30 minutes seems to be taking hours.

-----Original Message-----

From: Juan Cachito Reyes Pacheco [mailto:jreyes_at_dazasoftware.com] Sent: Wednesday, March 03, 2004 3:48 PM
To: oracle-l_at_freelists.org
Subject: Re: copy export plan from one database to another

Approximately,
1) you can import and export statistics 2) you can too use optimizer plan stability (chapter 11 expert one on one Tom kyte)  

What happen before the problem, you update statiscs, update staticis in sys schema, what happened?

Hi there,

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

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

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

Thanks

Darren



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



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_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

-----------------------------------------------------------------
Received on Wed Mar 03 2004 - 17:57:12 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US