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: sizing sort_area_size

Re: sizing sort_area_size

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Thu, 18 Sep 2003 14:34:57 -0800
Message-ID: <F001.005D0699.20030918143457@fatcity.com>


> I have been doing some alter sessions to improve performance of gigabyte
sized 'minus' operations. How do I tell if this is helping other than completion time?
>
> I believe that if LIOs to PIOs ratio improves with the SAME query then
sort_area_size has helped right?(notice Im not trying to improve my cache/hit ratio).

If you see less direct IO waits on your temporary tablespace, then increasing s_a_s has helped.

>
> I get this from v$sess_io.
>
> how do I tell how much temp tablespace my session uses? I cant find a
statistic for it? I see that I used up all my PGA since PGA size and PGA max size are equal in v$sesstat.

select * from v$sort_usage where sid = <sid>;

> anything else I can look at?

Activity on temp tablespace from v$tempstat.. but it's only good enough for comparing with baselines..

Tanel.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Tanel Poder
  INET: tanel.poder.003_at_mail.ee

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Sep 18 2003 - 17:34:57 CDT

Original text of this message

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