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: Queries and Speed

Re: Queries and Speed

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Fri, 10 Sep 1999 18:05:24 +0800
Message-ID: <37D8D7E4.6F91@yahoo.com>


Ben Clegg wrote:
>
> I have a simple application that we are porting from a Paradox database to
> Oracle. A simple join query that takes about 3 seconds in Parodox takes
> about 12 seconds in Oracle. Is it normal for Paradox to outperform Oracle
> or am I missing something? What are the most common steps that you can take
> to speed up a query?

Run EXPLAIN plan...if you aren't sure what this is, then its time to check out the server tuning manual...

Some thigs to start with:

make sure the tables analyzed if you're using the cost option which is likely (its the default)

are there appropriate indexes on the tables

are the tables sized correctly - 1 extent is good, up to 20 is even fine (assuming that you have got them as reasonable multiples of db_multiblock_read_count * block size ) , 1000's of extents is bad

are the tables on hot spots on disk

blah blah blah blah

Hope this helps..

--



Connor McDonald
"These views mine, no-one elses etc etc" connor_mcdonald_at_yahoo.com

"Some days you're the pigeon, and some days you're the statue." Received on Fri Sep 10 1999 - 05:05:24 CDT

Original text of this message

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