Dynamic Modification of SGA_TARGET (103)
The SGA_TARGET parameter can be increased up
to the value specified for the SGA_MAX_SIZE parameter, and it can also be reduced. If
you reduce the value of SGA_TARGET, the system identifies one or more automatically
tuned components for which to release memory. You can reduce SGA_TARGET until
one or more automatically tuned components reach their minimum size. Oracle
Database determines the minimum allowable value for SGA_TARGET taking into
account several factors, including values set for the automatically sized components,
manually sized components that use SGA_TARGET space, and number of CPUs.
The change in the amount of physical memory consumed when SGA_TARGET is
modified depends on the operating system. On some UNIX platforms that do not
support dynamic shared memory, the physical memory in use by the SGA is equal to
the value of the SGA_MAX_SIZE parameter. On such platforms, there is no real benefit
in setting SGA_TARGET to a value smaller than SGA_MAX_SIZE. Therefore, setting
SGA_MAX_SIZE on those platforms is not recommended.
On other platforms, such as Solaris and Windows, the physical memory consumed by
the SGA is equal to the value of SGA_TARGET.
When SGA_TARGET is resized, the only components affected are the automatically
tuned components for which you have not set a minimum value in their
corresponding initialization parameter. Any manually configured components remain
unaffected.
For example, suppose you have an environment with the following configuration:
■ SGA_MAX_SIZE = 1024M
■ SGA_TARGET = 512M
■ DB_8K_CACHE_SIZE = 128M
In this example, the value of SGA_TARGET can be resized up to 1024M and can also be
reduced until one or more of the automatically sized components reaches its minimum
size. The exact value depends on environmental factors such as the number of CPUs
on the system. However, the value of DB_8K_CACHE_SIZE remains fixed at all times
at 128M
When SGA_TARGET is reduced, if minimum values for any automatically tuned
components are specified, those components are not reduced smaller than that
minimum. Consider the following combination of parameters:
■ SGA_MAX_SIZE = 1024M
■ SGA_TARGET = 512M
■ DB_CACHE_SIZE = 96M
■ DB_8K_CACHE_SIZE = 128M
As in the last example, if SGA_TARGET is reduced, the DB_8K_CACHE_SIZE
parameter is permanently fixed at 128M. In addition, the primary buffer cache
(determined by the DB_CACHE_SIZE parameter) is not reduced smaller than 96M.
Thus the amount that SGA_TARGET can be reduced is restricted.
Note: When enabling automatic shared memory management, it is
best to set SGA_TARGET to the desired non-zero value before starting
the database. Dynamically modifying SGA_TARGET from zero to a
non-zero value may not achieve the desired results because the shared
pool may not be able to shrink. After startup, you can dynamically
tune SGA_TARGET up or down as required.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-996269/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP QM Dynamic Modification Rule (動態修改規則)
- sourcemaps and persistent modification in chromeChrome
- [Rust] Dealing with Vec modificationRust
- SGA_TARGET Advice
- 啟用oracle table rowdependencies trace row modificationOracle
- sga_target大小調整
- The SGA_TARGET Initialization Parameter (74)
- oracle 重設定sga_targetOracle
- php static dynamicPHP
- C# dynamicC#
- dynamic_castAST
- Oracle10g修改SGA_TARGETOracle
- sga_target與sga_max_size
- SGA_MAX_SIZE與SGA_TARGET
- sga_target與max_sga_size
- 改sga_target的注意事項
- statistics_level與SGA_TARGET衝突
- 【轉】SGA_MAX_SIZE與SGA_TARGET
- dynamic bone unity githubUnityGithub
- why use dynamic SQL?SQL
- Disable Dynamic DNS updateDNS
- 力扣(LeetCode)103力扣LeetCode
- #103. 子串查詢
- PGA memory statistics associated view (103)View
- 《HelloGitHub》第 103 期Github
- Retroactive Billing – VFRB Modification to add credit/debit line
- Oracle Rac 修改SGA_TARGET值無變化Oracle
- 10g中的sga_target引數
- @synthesize @dynamic 的區別
- DRM - Dynamic Resource MasteringAST
- c# dynamic和ExpandoObjectC#Object
- hive dynamic partition的使用Hive
- EXECUTE IMMEDIATE dynamic sql in procedureSQL
- DataTable 轉為 List<dynamic>
- 使用View modification擴充套件SAP Fiori應用的一個案例View套件
- C# json to dynamic objectC#JSONObject
- Objective-C中的@dynamicObject
- Building a Dynamic Oracle ETL ProcedureUIOracle