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

Home -> Community -> Mailing Lists -> Oracle-L -> Undo Analyze Table

Undo Analyze Table

From: Hussain Ahmed Qadri <hussain_at_skm.org.pk>
Date: Sun, 15 Jun 2003 23:12:24 -0700
Message-ID: <F001.005B20AA.20030615225439@fatcity.com>

Hi,
We have two DBs, a production and a development, identical query was running very quickly on the Development and very slowly on the Production. Both have the similar structures, same number of indexes and everything. When I checked the explain plan, I found out that on the Production DB, it was doing a FTS on a couple of tables and was doing an Index scan on the Development server. The only difference was that the tables on the Production were ANALYZED.

To confirm my theory, I analyzed the tables on Development and it started doing a FTS there as well hence slowing the query down. I know the optimizer, after analyzing, would have chosen the better path in its own sense but its not producing the desired result and it is taking ages now.

is there any way to undo that?

Regards,

Hussain Ahmed Qadri
DBA
SKMCH&RC Received on Mon Jun 16 2003 - 01:12:24 CDT

Original text of this message

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