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: OT : kernel using 75% of CPU

Re: OT : kernel using 75% of CPU

From: Jerry C <usidba_at_yahoo.com>
Date: Tue, 28 Aug 2001 16:54:49 -0700
Message-ID: <F001.0037A889.20010828171118@fatcity.com>

Hi again,
 

Another list member pointed me to look at sort_area_size and sort_area_retained_size. The are:
 

<FONT face="Courier New"
size=2>sort_area_retained_size              integer

1048576sort_area_size                       
integer 31457280
Our db is
doing a fair amount or sorts:
<FONT face="Courier New"
size=2> 

SQL> select * from v$sysstat where name like '%sort%';
 

STATISTIC# NAME---------- 
----------------------------------------------------------------     
CLASS      VALUE---------- 

----------       188 sorts
(memory)        64   
6581194
 
       189

sorts (disk)       
64        649
 
       190

sorts (rows)        64 
414280310
 <FONT

face="Courier New">-----
 
 

The db has about 50 users... 50*30Mb. = ~ 1.5Gb.... brings me much closer to the 4 Gb. mark.  The sort area does go to the PGA, right?
 

The performance manual kind of makes it sound like this memory never gets released:

<FONT color=#330099
face="Arial, Helvetica, sans-serif">Considerations with SORT_AREA_RETAINED_SIZE
The SORT_AREA_RETAINED_SIZE parameter determines the lower memory limit to which Oracle reduces the size of the sort area after the sort has started sending the sorted data to the user or to the next part of the query.
With dedicated connections, the freed memory is <EM class=Italic>not released to the operating system, rather <EM class=Italic>the freed memory is made available to the session for reuse.

What do you think?
 

Thanks again everybody for your
suggestions!
 
 

- Jerry
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">

Received on Tue Aug 28 2001 - 18:54:49 CDT

Original text of this message

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