FAQ
Hi,


The question is regarding (Remote Diagnostics Assistant; Metalink Note: 314422.1) Oracle Support provides to troubleshoot performance issues in a database {RDA} and the calculation of the "Top SQL Report"


More specifically, I am curious how the following ratios are deemed "Expected Respose Time (in Seconds)"


From v$sqlarea:
{ (disk_reads/executions)/50 }
{ (buffer_gets/executions)/500 }


Also, what is the significance of the numbers 50 and 500 respectively?


Queries used in the report:


select
sql_text,
executions,
disk_reads / decode(executions,0,1, executions) / 50
from
v$sqlarea
where
disk_reads / decode(executions,0,1, executions) / 50 > 100
order by executions desc;

select
sql_text,
executions,
buffer_gets / decode(executions,0,1, executions) / 500
from
v$sqlarea
where
buffer_gets/ decode(executions,0,1, executions) / 500 > 100
order by executions desc;


Thanks,
Sri

Search Discussions

  • Oracle-l-bounce_at_freelists.org at Mar 1, 2006 at 11:35 pm
    Hmm...interesting...I've never looked at this report......my guess would
    be that they are speculating that a disk read takes about 20 ms, so,
    disk_reads/50 would give you seconds. Same idea for buffer_gets. If a
    buffer get takes 2 ms, then buffer_gets/500 will yield seconds.

    As to how accurate that conversion is, well, that depends on way too
    much stuff to speculate on.....

    -Mark

    --
    Mark J. Bobak
    Senior Oracle Architect
    ProQuest Information & Learning

    "Exception: Some dividends may be reported as qualified dividends but
    are not qualified dividends. These include:

    Dividends you received on any share of stock that you held for less
    than 61 days during the 121-day period that began 60 days before the
    ex-dividend date. The ex-dividend date is the first date following the
    declaration of a dividend on which the purchaser of a stock is not
    entitled to receive the next dividend payment. When counting the number
    of days you held the stock, include the day you disposed of the stock
    but not the day you acquired it. See the examples below. Also, when
    counting the number of days you held the stock, you cannot count certain
    days during which your risk of loss was diminished. See Pub. 550 for
    more details."
    --IRS, Form 1040-A Instruction Booklet, Line 9b: Qualified Dividends

    -----Original Message-----
    From: oracle-l-bounce_at_freelists.org
    On Behalf Of Srikanth Kalluri
    Sent: Wednesday, March 01, 2006 6:11 PM
    To: Oracle-L Freelists
    Subject: RDA - Top SQL report

    Hi,


    The question is regarding (Remote Diagnostics Assistant; Metalink Note:
    314422.1) Oracle Support provides to troubleshoot performance issues in
    a database {RDA} and the calculation of the "Top SQL Report"


    More specifically, I am curious how the following ratios are deemed
    "Expected Respose Time (in Seconds)"


    From v$sqlarea:
    { (disk_reads/executions)/50 }
    { (buffer_gets/executions)/500 }


    Also, what is the significance of the numbers 50 and 500 respectively?


    Queries used in the report:


    select
    sql_text,
    executions,
    disk_reads / decode(executions,0,1, executions) / 50 from v$sqlarea
    where disk_reads / decode(executions,0,1, executions) / 50 > 100 order
    by executions desc;

    select
    sql_text,
    executions,
    buffer_gets / decode(executions,0,1, executions) / 500 from v$sqlarea
    where buffer_gets/ decode(executions,0,1, executions) / 500 > 100 order
    by executions desc;


    Thanks,
    Sri



    --
    http://www.freelists.org/webpage/oracle-l

    --
    http://www.freelists.org/webpage/oracle-l

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouporacle-l @
categoriesoracle
postedMar 1, '06 at 11:10p
activeMar 1, '06 at 11:35p
posts2
users2
websiteoracle.com

People

Translate

site design / logo © 2023 Grokbase