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

Home -> Community -> Usenet -> c.d.o.server -> Insert-Select much slower than same select on its own

Insert-Select much slower than same select on its own

From: <zzzzzz45_at_hotmail.com>
Date: 31 Aug 2006 06:38:52 -0700
Message-ID: <1157031532.913301.144740@m79g2000cwm.googlegroups.com>


Hi,

I'm doing an insert into a table like so:

Insert into table
(field1, field2...)
Select value1, value2...
from view

The select on its own runs in under a second. The insert select takes ~50 seconds. The explain plans differ greatly. The stats on the tables are up-to-date.

I've tried the all_rows and append hints to no avail.

Can somebody please advise why this drastic deterioration in performance may be happening?

The db version is Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production

Thanks,
Mark Received on Thu Aug 31 2006 - 08:38:52 CDT

Original text of this message

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