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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Simple Oracle Query Taking Too Long

Re: Simple Oracle Query Taking Too Long

From: DA Morgan <damorgan_at_psoug.org>
Date: Wed, 06 Sep 2006 16:21:57 -0700
Message-ID: <1157584913.848675@bubbleator.drizzle.com>


Bryan Hunter wrote:
> I did run an explain plan and it shows :
> Count Stopkey
> Table Access Full
>
> I also ran it on a different table similar in structure but has a primary
> key and two columns indexed which I do not believe are important in this
> problem and recieved the same explain plan but milisecond response time.
>
> The table in question is only being accessed by the procedure that is moving
> the data from that table to the other one. So there are no inserts or
> updates being performed on this table. So I assume since that since there
> is no data manipulation occuring that the data stays intact and that the
> select and delete get the same data.

RENAME slow_table TO slow_table_hold;

CREATE TABLE new_table AS
SELECT * FROM slow_table;

My guess is you have a high water mark in the ionosphere.

-- 
Puget Sound Oracle Users Group
Received on Wed Sep 06 2006 - 18:21:57 CDT

Original text of this message

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