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: Multi-Block read count

Re: Multi-Block read count

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 11 Jan 2002 16:07:47 -0000
Message-ID: <1010765165.19220.0.nnrp-01.9e984b29@news.demon.co.uk>

Look at the package dbms_stats, which
includes gather_, import_, export_, get_ and even set_, system_stats.

The data ends up in sys.aux_stats$

There are then two undocumented hints:

    cpu_costing
tells Oracle to use estimates of CPU costing if no system stats are set

    nocpu_costing
tell oracle to ignore any system stats that are set

--
Jonathan Lewis
http://www.jlcomp.demon.co.uk

Now running 3-day intensive seminars
http://www.jlcomp.demon.co.uk/seminar.html

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

Author of:
Practical Oracle 8i: Building Efficient Databases


Herman de Boer wrote in message ...

>Jonathan,
>
>do you have - regarding this - pointers to relevant
>v$-views, parameters or oracle doc?
>
>> Oracle has taken note of this in Oracle 9 by
>> allowing you to collect "system statistics"
>> over a typical time period so that it can incorporate
>> I/O rates into its costing calculations. The interesting
>> thing to note is that it records three things for I/O
>>
>> Average time for a single block read over the period.
>>
>> Average time for a multi block read over the period.
>>
>> Average ACTUAL size requested for a multiblock read
>> over the period.
>
>Kind Regards,
>
>Herman de Boer.
Received on Fri Jan 11 2002 - 10:07:47 CST

Original text of this message

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