|Oracle® Database Reference
10g Release 1 (10.1)
Part Number B10755-01
|Range of values|
Shared SQL areas are kept pinned in the shared pool. As a result, shared SQL areas are not aged out of the pool as long as an open cursor references them. Because each active cursor's SQL area is present in memory, execution is faster. However, the shared SQL areas never leave memory while they are in use. Therefore, you should set this parameter to
TRUE only when the shared pool is large enough to hold all open cursors simultaneously.
In addition, a setting of
TRUE retains the private SQL area allocated for each cursor between executions instead of discarding it after cursor execution, saving cursor allocation and initialization time
Shared SQL areas can be deallocated from the library cache to make room for new SQL statements.
Note:If this parameter is set to