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: tkprof - disk reads greater than query+current

Re: tkprof - disk reads greater than query+current

From: hpuxrac <johnbhurley_at_sbcglobal.net>
Date: 20 Apr 2007 16:57:22 -0700
Message-ID: <1177113442.553599.188520@b58g2000hsg.googlegroups.com>


On Apr 20, 4:00 pm, wagen..._at_yahoo.com wrote:
> Jonathan,
>
> This is a Oracle text query - uses DOMAIN index.
> select * from ( select a.*, rownum rnum from ( select /*
> +FIRST_ROWS(21)*/
> columnA, columnB, columnC, create_date from tableName
> where
> contains ( columnD, 'MICROSOFT') > 0 and
> create_date between sysdate - 180 and sysdate order by create_date
> desc ) a
> where rownum <= 21) where rnum > 0;
>
> Thanks
> wagen

Try using a tool like the hotsos resource profiler or the open source clone orasrp these will include a breakout that does correctly show the costing of the queries against a text index. Received on Fri Apr 20 2007 - 18:57:22 CDT

Original text of this message

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