Contents
You can dynamically reconfigure the sizes of the shared pool, the large pool, the buffer cache, and the process-private memory. You can, if necessary, decrease the size of one cache and reallocate that memory to another cache. You can expand the total SGA size to a value equal to the SGA_MAX_SIZE parameter.
How do you increase the size of a stream pool?
To configure the Streams pool explicitly, specify the size of the pool in bytes using the streams_pool_size initialization parameter. If the size of the Streams pool is greater than zero, then any SGA memory used by Streams is allocated from the Streams pool.
Free memory Shared pool : SELECT * FROM v$sgastat WHERE name = ‘free memory’; News.
Which pool can be resized dynamically?
You can dynamically reconfigure the sizes of the shared pool, the large pool, the buffer cache, and the process-private memory. Memory for the shared pool, large pool, java pool, and buffer cache is allocated in units of granules.
What is stream pool size in Oracle?
The Streams pool is a shared resource, and the amount of memory a process can use from the Streams pool is determined by the application. The capture or apply parameter MAX_SGA_SIZE can be controlled for Oracle GoldenGate or XStream.
How to flush a sql statement from shared pool
- Get the address and hash_value of the sql_id:
- Now purge the sql statement. exec DBMS_SHARED_POOL.PURGE (‘ADDRESS,HASH_VALUE’,’C’); exec DBMS_SHARED_POOL.PURGE (‘0000000693E4C268,2515443712′,’C’); PL/SQL procedure successfully completed.
SHARED_POOL_SIZE specifies (in bytes) the size of the shared pool. If SGA_TARGET is set: If the parameter is not specified, then the default is 0 (internally determined by the Oracle Database). If the parameter is specified, then the user-specified value indicates a minimum value for the memory pool.
SGA_TARGET will be set to a non-zero value, which means: Specifies the total size of all SGA components. If SGA_TARGET is specified, then the buffer cache (DB_CACHE_SIZE), Java pool (JAVA_POOL_SIZE), large pool (LARGE_POOL_SIZE), and shared pool (SHARED_POOL_SIZE) memory pools are automatically sized.
When to use segregated memory in Oracle pool?
To enable these allocations to occur more efficiently, Oracle Database segregates a small amount of the shared pool. The segregated memory, called the reserved pool, is used if the shared pool runs out of space. The following sections provide more details about the main components of the shared pool:
How big should the shared pool size be?
If the parameter is specified, then the user-specified value indicates a minimum value for the memory pool. If SGA_TARGET is not set (32-bit platforms): 64 MB, rounded up to the nearest granule size. If SGA_TARGET is not set (64-bit platforms): 128 MB, rounded up to the nearest granule size.