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 -> shared_pool_size in 8i

shared_pool_size in 8i

From: <dba.orcl_at_gmail.com>
Date: 9 Apr 2005 20:20:09 -0700
Message-ID: <1113103209.502572.48560@l41g2000cwc.googlegroups.com>


Hi :

I did run the following program(from metalink) in 8i (2 node OPS) during peak hours and it says shared_pool utilization is 165%. Do I have to increase the shared_pool_size to improve the performance?

set serveroutput on;
declare

object_mem number;
shared_sql number;
cursor_mem number;

mts_mem number;
used_pool_size number;
free_mem number;
pool_size varchar2(512); -- same as V$PARAMETER.VALUE
begin
-- Stored objects (packages, views)

select sum(sharable_mem) into object_mem from v$db_object_cache;
-- Shared SQL -- need to have additional memory if dynamic SQL used
select sum(sharable_mem) into shared_sql from v$sqlarea;
-- User Cursor Usage -- run this during peak usage.
DOC>* *
DOC>* TITLE : Shared Pool Estimation *
DOC>* CATEGORY : Information, Utility *
DOC>* SUBJECT AREA : Shared Pool *
DOC>* DESCRIPTION : Estimates shared pool utilization *
DOC>* based on current database usage. This should be *
DOC>* run during peak operation, after all stored *
DOC>* objects i.e. packages, views have been loaded. *
DOC>* *
DOC>* *
DOC>********************************************************/
Obj mem: 420192059 bytes
Shared sql: 404843921 bytes
Cursors: 2170375 bytes
Free memory: 76526336 bytes (72.98MB)
Shared pool utilization (total): 992647626 bytes (946.66MB) Shared pool allocation (actual): 600000000 bytes (572.2MB) Percentage Utilized: 165%  

PL/SQL procedure successfully completed.

Thanks in advance
--Sami Received on Sat Apr 09 2005 - 22:20:09 CDT

Original text of this message

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