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 -> Re: Horrible Query Performance, Simple Query -- Performance Tuning Help Needed

Re: Horrible Query Performance, Simple Query -- Performance Tuning Help Needed

From: Joel Garry <joel-garry_at_home.com>
Date: 19 Apr 2006 14:34:40 -0700
Message-ID: <1145482480.166954.107790@i40g2000cwc.googlegroups.com>


Try setting the session to all rows rather than first rows to see if that helps the throughput.

Maybe try changing the order of tables in the sql to event, document, ebiz... and use the ordered hint. The general idea being to filter as much as possible up front, and the event_x1 range scan with a specific unit number looks to me like it might do that, while the optimizer seems to think the document table unique scan does.

jg

--
@home.com is bogus.
Swarming robots of death:
http://www.signonsandiego.com/uniontrib/20060419/news_1b19robots.html
Received on Wed Apr 19 2006 - 16:34:40 CDT

Original text of this message

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