Granules of pga_aggregate_target 494 cannot be more than memory_target (497)
今天對資料庫進行日常檢查時,在資料庫日誌裡發現以下報錯資訊:
WARNING: Granules of pga_aggregate_target 494 cannot be more than memory_target (497) - sga_target (0) or min_sga (11)
OS:linux server release 6.4
RAC 11.2.0.3 兩個節點 ASM
SQL> show parameter sga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 63616M
sga_target big integer 0
SQL> show parameter pga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_target big integer 0
SQL> show parameter memory
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
hi_shared_memory_address integer 0
memory_max_target big integer 63616M
memory_target big integer 63616M
shared_memory_address integer 0
Symptoms
The following message is reported in the alert log:
下面是告警日誌裡的資訊:
WARNING: Granules of pga_aggregate_target %d cannot be more than memory_target (%d) - sga_target (%d) or min_sga(%d)
Changes
The MEMORY_TARGET and SGA_MAX_SIZE or SGA_TARGET parameters are set.
Cause
This warning message is raised because the MEMORY_TARGET/MEMORY_MAX_TARGET and SGA_MAX_SIZE/SGA_TARGET parameters are set the same. However, in Oracle 11g the MEMORY_TARGET parameter defines the total amount of memory that Oracle can use, which incorporates both SGA and PGA areas. Therefore if these are set the same as the SGA_MAX_SIZE/SGA_TARGET parameters then this leaves no memory available for the PGA, and hence this warning message is raised.
原因:這個告警資訊產生是因為MEMORY_TARGET/MEMORY_MAX_TARGET 和 SGA_MAX_SIZE/SGA_TARGET引數被設定為相同的。然而,在11GOracle中,MEMORY_TARGET引數定義Oracle可以用的總的記憶體(包括SGA和PGA)。因此,如果SGA_MAX_SIZE/SGA_TARGET 被設定為相同的話,那麼PGA就沒有記憶體可用,告警資訊就產生了。
Solution
Ensure that the MEMORY_TARGET/MEMORY_MAX_TARGET parameter settings are set to at least the sum of SGA_MAX_SIZE/SGA_TARGET plus the PGA_AGGREGATE_TARGET parameter.
解決方法:確保MEMORY_TARGET/MEMORY_MAX_TARGET引數設定為sga_max_size/sga_target 加上pga_aggregate_target的總數。
WARNING: Granules of pga_aggregate_target 494 cannot be more than memory_target (497) - sga_target (0) or min_sga (11)
OS:linux server release 6.4
RAC 11.2.0.3 兩個節點 ASM
SQL> show parameter sga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 63616M
sga_target big integer 0
SQL> show parameter pga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_target big integer 0
SQL> show parameter memory
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
hi_shared_memory_address integer 0
memory_max_target big integer 63616M
memory_target big integer 63616M
shared_memory_address integer 0
Symptoms
The following message is reported in the alert log:
下面是告警日誌裡的資訊:
WARNING: Granules of pga_aggregate_target %d cannot be more than memory_target (%d) - sga_target (%d) or min_sga(%d)
Changes
The MEMORY_TARGET and SGA_MAX_SIZE or SGA_TARGET parameters are set.
Cause
This warning message is raised because the MEMORY_TARGET/MEMORY_MAX_TARGET and SGA_MAX_SIZE/SGA_TARGET parameters are set the same. However, in Oracle 11g the MEMORY_TARGET parameter defines the total amount of memory that Oracle can use, which incorporates both SGA and PGA areas. Therefore if these are set the same as the SGA_MAX_SIZE/SGA_TARGET parameters then this leaves no memory available for the PGA, and hence this warning message is raised.
原因:這個告警資訊產生是因為MEMORY_TARGET/MEMORY_MAX_TARGET 和 SGA_MAX_SIZE/SGA_TARGET引數被設定為相同的。然而,在11GOracle中,MEMORY_TARGET引數定義Oracle可以用的總的記憶體(包括SGA和PGA)。因此,如果SGA_MAX_SIZE/SGA_TARGET 被設定為相同的話,那麼PGA就沒有記憶體可用,告警資訊就產生了。
Solution
Ensure that the MEMORY_TARGET/MEMORY_MAX_TARGET parameter settings are set to at least the sum of SGA_MAX_SIZE/SGA_TARGET plus the PGA_AGGREGATE_TARGET parameter.
解決方法:確保MEMORY_TARGET/MEMORY_MAX_TARGET引數設定為sga_max_size/sga_target 加上pga_aggregate_target的總數。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22969361/viewspace-1225930/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- DNS: More than just namesDNS
- More than one file was found with OS independent path
- OpenKruise 2021 規劃曝光:More than workloadsUI
- android: ADB錯誤“more than one device and emulator”Androiddev
- Clock in a Linux Guest Runs More Slowly or Quickly Than Real TimeLinuxUI
- memory_max_target,memory_target,pga_aggregate_target,sga_target
- 【例項】之memory_target、sga_target,pga_aggregate_target關係
- Spark 異常:Trying to write more fields than contained in rowSparkAI
- JDBC:The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone.JDBCServerZed
- 異常解決——The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than oneServerZed
- ORA-00494: enqueue [CF] held for too long (more than 900 seconds)ENQ
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
- ORA-00494: enqueue [CF] held for too long (more than 900 seconds) -RACENQ
- ORA-14257: cannot move partition other than a Range or Hash partition
- mysql執行報The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one tim......MySqlServerZed
- 452 Error writing file: A file cannot be larger than the value set by ulimit.ErrorMIT
- SQL2012報錯:cannot find one or more cpmponentsSQL
- Java新增構造方法異常異常——Could not autowire. there is more than one bean of '' typeJava構造方法Bean
- auto assign ipv6 for more than /64 prefix, subnet for /112 #164
- Dynamics CRM the field cannot be deleted because it is used in one or more process的解決方法delete
- CCAH-CCA-500-6題:You want YARN to launch no more than 16 containers per node.YarnAI
- java.sql.SQLException: Prepared or callable statement has more than 2000 parameter markers及解決方案JavaSQLException
- 備忘錄:SQL SERVER2014 出現:“Cannot find one or more components”SQLServer
- Spring中關於SqlRowSet的Invalid scale size. Cannot be less than zero異常處理SpringSQL
- [英文版]專訪《AngularJS 2權威教程》作者Nate Murray: Code is More of A Graph Than A Document (圖靈訪談)AngularJS圖靈
- How To Tune PGA_AGGREGATE_TARGET
- MapInfo is no moreAPI
- MEMORY_TARGET not supported on this system
- Do more, fasterAST
- Oracle 11G OCP 1Z0-053 497Oracle
- Why Java is better than .NETJava
- 寫了個web伺服器,ab測試一下,就報錯Conn.Write wrote more than the declared Content-LengthWeb伺服器
- pga_aggregate_target的設定 (zt)
- Oracle 11G OCP 1Z0-053 494Oracle
- ORA-00845: MEMORY_TARGET
- SGA PGA MEMORY_TARGET 關係
- MEMORY_TARGET not supported on this system for linuxLinux
- TypeScript 之 More on FunctionsTypeScriptFunction