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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: prefixed index - high clustering factor & high cpu

RE: prefixed index - high clustering factor & high cpu

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Sat, 27 Oct 2007 12:23:34 +0100
Message-ID: <01d101c8188b$d0576b90$0200a8c0@Primary>

Please supply the tkprof output you are using to get these figures.

Is your "cost about 30k" from the Rowsource Operation output, showing "time = 30000 microseconds" ? Or is it actually from a plan_table.

If the latter, then a CPU cost of around 30,000 (Oracle operations) is perfectly reasonable for 4 buffer visits to acquire a single row by unique index.

Regards

Jonathan Lewis
http://jonathanlewis.wordpress.com

Author: Cost Based Oracle: Fundamentals
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html

The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

>at the tkprof the cpu cost is very high , its about 30k, rows returned
> is 1 , io cost is 4 , the cost itself only 4.

--
http://www.freelists.org/webpage/oracle-l
Received on Sat Oct 27 2007 - 06:23:34 CDT

Original text of this message

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