Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: "SQL AREA" and "LIBARARY CACHE" size?
>From 9.2 doc:
Shared Pool
The shared pool portion of the SGA contains three major areas: library
cache, dictionary cache, buffers for parallel execution messages, and
control structures.
The total size of the shared pool is determined by the initialization parameter SHARED_POOL_SIZE. The default value of this parameter is 8MB on 32-bit platforms and 64MB on 64-bit platforms. Increasing the value of this parameter increases the amount of memory reserved for the shared pool.
Library Cache
The library cache includes the shared SQL areas, private SQL areas (in the
case of a multiple transaction server), PL/SQL procedures and packages, and
control structures such as locks and library cache handles.
Shared SQL areas are accessible to all users, so the library cache is contained in the shared pool within the SGA.
Regards,
Waleed
-----Original Message-----
Sent: Thursday, September 25, 2003 7:05 AM
To: Multiple recipients of list ORACLE-L
Hi Steve,
Sorry for it, but I want to correct one thing that is , it is Libarray cache which is subset of SQL area which intern subset of shared pool.
With Regards,
Manoj Kumar Jha
A transcendentalist engaged in auspicious activities does not meet with
destruction either in this world or in the spiritual world; one who does
good,
is never overcome by evil.
"Steve Adams" <steve.adams_at_ixo To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> ra.com.au> cc: Sent by: Subject: RE: "SQL AREA" and "LIBARARY CACHE" size? ml-errors_at_fatcit y.com 09/25/03 03:24 PM Please respond to ORACLE-L
Hi Manoj,
Although the stats are confused, the "SQL area" is in fact a subset of the library cache. Cursors are cached in the library cache as namespace 0.
You can exercise limited control over the memory usage by marking objects for keeping with DBMS_SHARED_POOL.KEEP. Otherwise, the retention of chunks and thus the relative size of these and other shared pool areas depends entirely how recently objects have been used, because they all share the same LRU mechanisms (although there is an additional subordinate LRU mechanism for the dictionary cache).
@ Regards, @ Steve Adams @ http://www.ixora.com.au/ - For DBAs @ http://www.christianity.net.au/ - For all
-----Original Message-----
ManojKr Jha
Sent: Thursday, 25 September 2003 6:35 PM
To: Multiple recipients of list ORACLE-L
How the ORACLE distribute and mange the size of variouse component in
shared_pool....?
There should be some criteria on which it disribute its toatl available
memory to these component.
Steve Adams/Jonathan, do you have any about these?
Also are there any way to control the number and type of chunks in
different buckets.
If these can be manage I hope that lots of seriouse problem related to
shared pool fragmentation and other issues can be easilly avoided?
With Regards,
Manoj Kumar Jha
A transcendentalist engaged in auspicious activities does not meet with
destruction either in this world or in the spiritual world; one who does
good,
is never overcome by evil.
"bhabani s pradhan" <bhabaniindia_at_redif To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> fmail.com> cc: Sent by: Subject: Re: "SQL AREA" and "LIBARARY CACHE" size? ml-errors_at_fatcity.c om 09/25/03 01:04 PM Please respond to ORACLE-L
You cannot control the sizes of sql area and library cache individually
Regards
On Thu, 25 Sep 2003 ManojKr Jha wrote :
>
>
>
>Hi,
>
>Any body have any idea about how to control the size of "library
>cache" and
>"sql area" in shared_pool?
>
>With Regards,
>Manoj Kumar Jha
>
>
>
>A transcendentalist engaged in auspicious activities does not
>meet with
>destruction either in this world or in the spiritual world; one
>who does
>good,
>is never overcome by evil.
>
>
>DISCLAIMER: The information contained in this message is intended
>only and
>solely for the addressed individual or entity indicated in this
>message and
>for the exclusive use of the said addressed individual or entity
>indicated
>in this message (or responsible for delivery of the message to
>such person)
>and may contain legally privileged and confidential information
>belonging
>to Tata Consultancy Services. It must not be printed, read,
>copied,
>disclosed, forwarded, distributed or used (in whatsoever manner)
>by any
>person other than the addressee. Unauthorized use, disclosure or
>copying is
>strictly prohibited and may constitute unlawful act and can
>possibly
>attract legal action, civil and/or criminal. The contents of this
>message
>need not necessarily reflect or endorse the views of Tata
>Consultancy
>Services on any subject matter. Any action taken or omitted to be
>taken
>based on this message is entirely at your risk and neither the
>originator
>of this message nor Tata Consultancy Services takes any
>responsibility or
>liability towards the same. Opinions, conclusions and any other
>information
>contained in this message that do not relate to the official
>business of
>Tata Consultancy Services shall be understood as neither given
>nor endorsed
>by Tata Consultancy Services or any affiliate of Tata Consultancy
>Services.
>If you have received this message in error, you should destroy
>this message
>and may please notify the sender by e-mail. Thank you.
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>--
>Author: ManojKr Jha
> INET: jmanoj_at_delhi.tcs.co.in
>
>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).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: bhabani s pradhan INET: bhabaniindia_at_rediffmail.com 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). DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: ManojKr Jha INET: jmanoj_at_delhi.tcs.co.in 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Steve Adams INET: steve.adams_at_ixora.com.au 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). DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: ManojKr Jha INET: jmanoj_at_delhi.tcs.co.in 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Khedr, Waleed INET: Waleed.Khedr_at_FMR.COM 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 25 2003 - 09:04:40 CDT