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: Query for Top 10 Most "Expensive" Queries

Re: Query for Top 10 Most "Expensive" Queries

From: Joel Garry <joel-garry_at_home.com>
Date: 26 Aug 2003 17:01:14 -0700
Message-ID: <91884734.0308261601.1a446817@posting.google.com>


alvathinstruct_at_hotmail.com (Allan Vath) wrote in message news:<7eeea21b.0308251049.5dd27b54_at_posting.google.com>...
> I once had the sql which read a sys view which listed the top 10 worst
> queries (as judged by high I/O). Can someone save me the time in
> searching the sys views for this query.
>
> Thanks,
>
> Allan Vath

Something like:

select disk_reads, sql_text

        from    v$sqlarea
        where disk_reads > 10000
        order by disk_reads desc

/

But listen to Tanel.

jg

--
@home.com is bogus.
I am Sir Oracle, and when I ope my lips, let no dog bark! -
Shakespeare, Merchant of Venice
Received on Tue Aug 26 2003 - 19:01:14 CDT

Original text of this message

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