Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Sizing SHARED_POOL_SIZE
"Stephan" <test_at_test.com> wrote in message news:<0OiV9.20$dd3.1716_at_nlnews00.chello.com>...
> Hi,
>
> W2000/ORA8.1.7
>
> Can someone tell me how to determine a 'correct' value for the init.ora
> value: SHARED_POOL_SIZE ?
>
> Thanks
> Stephan
SET SERVEROUT ON
SET VERIFY OFF
DECLARE
l_uplift CONSTANT NUMBER := 0.3; l_numusers NUMBER := &Number_Of_Concurrent_Users; l_avg_uga NUMBER; l_max_uga NUMBER; l_sum_sql_shmem NUMBER; l_sum_obj_shmem NUMBER; l_total_avg NUMBER; l_total_max NUMBER; l_actual_sp NUMBER;
'OR '||to_char(round((l_actual_sp/1048576), 0))||' MB}');
DBMS_OUTPUT.PUT_LINE(CHR(10));
DBMS_OUTPUT.PUT_LINE('For ' || TO_CHAR(l_numusers) || ' concurrent
users, it can be resized to between: '||
'{'|| TO_CHAR(ROUND(l_total_avg + (l_total_avg * l_uplift), 0) ) ||
' and ' ||TO_CHAR(ROUND(l_total_max + (l_total_max * l_uplift),
0) ) ||' BYTES} OR '||
'{'|| TO_CHAR(ROUND((l_total_avg + (l_total_avg *
l_uplift))/1048576, 0) ) ||' and ' ||
TO_CHAR(ROUND((l_total_max + (l_total_max * l_uplift ))/1048576 ,0)
) ||' MB}');
END;
/
Regards
/Rauf Sarwar
Received on Wed Jan 15 2003 - 17:20:36 CST