重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 798|回复: 0
打印 上一主题 下一主题

[Oracle] 数据库启动报ORA-700 [sms physmem limit] / [pga physmem limit] Errors

[复制链接]
跳转到指定楼层
楼主
发表于 2023-8-4 13:43:53 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
版本:ORACLE 19.20+LINUX 7.9
启动数据库就报这个:
GA_AGGREGATE_TARGET specified is high
Errors in file /u01/app/oracle/diag/rdbms/webemr/webemr/trace/webemr_ora_17814.trc  (incident=187397):
ORA-00700: soft internal error, arguments: [pga physmem limit], [10737418240], [8847654092], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/webemr/webemr/incident/incdir_187397/webemr_ora_17814_i187397.trc


主要原因是:
sga_target/sga_max_size+2*PGA_*_target 超过 物理内存的90%,就会一直报这个错,我看了我的,主要是SGA_MAX_SIZE+PGA*2超了,修改SGA_MAX_SIZE 后,不再报错。

附录:
     ORA-700 [sms physmem limit] / [pga physmem limit] Errors while Starting the Database (Doc ID 2610312.1)       

In this Document
Symptoms
Changes
Cause
Solution
References

APPLIES TO:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Information in this document applies to any platform.
SYMPTOMS

When attempting to start the database, the following error occurs:

SGA_MAX_SIZE specified is high
ORA-00700: soft internal error, arguments: [sms physmem limit], [343597383680], [324613786828], [], [], [], [], [], [], [], [], []
OR

ORA-00700: soft internal error, arguments: [pga physmem limit], [12884901888], [12070720921], [], []
CHANGES


CAUSE
The issue is caused by overall memory configuration, i.e. the SGA TARGET + PGA LIMIT total is greater than system's memory limit.

In this case, the total SGA + PGA memory allocated to the database is around 350GB which is over 90% of the total physical memory.

----- Beginning of Customized Incident Dump(s) -----

WARNING: SGA_MAX_SIZE (327680 MB) is too high - it should be
  less than 309575 MB (80 percent of physical memory).


SOLUTION
Oracle 12c introduced the parameter PGA_AGGREGATE_LIMIT to allow database administrators to limit (hard limit) the aggregate PGA (Program Global Area) memory usage.  If the PGA_AGGREGATE_LIMIT value is exceeded, the Oracle database will abort or terminate the sessions or processes that are consuming the most untunable PGA memory.

Refer to the following documents for more details on memory parameters configuration settings:

-  Limiting Process Size with Database Parameter PGA_AGGREGATE_LIMIT (Document 1520324.1)

-  Automatic Memory Management (AMM) SGA and PGA Management in 11g and Above (Document 1392549.1)



Make sure that the overall SGA+PGA total is less than 80% of the overall total physical memory.  The OS processes need a sufficient amount of memory.


This is a warning message which will be reported in the alert log file if the overall memory crosses 80%.

Total memory = 100%
Reserved for OS = 20%

Out of the remaining 80%
PGA_AGGREGATE_TARGET = 50% of 80%
SGA_TARGET = 50% of 80% of total memory


For example, the following settings can be used to startup the instance:

PGA_AGGREGATE_TARGET = 25% of 85% total memory
PGA_AGGREGATE_LIMIT = 50% of 85% total memory
SGA_TARGET = 50% of 85% total memory

-OR-

PGA_AGGREGATE_TARGET = 33% of 85% total memory
PGA_AGGREGATE_LIMIT = 67% of 85% total memory
SGA_TARGET = 33% of 85% total memory



NOTE:

1.  The above parameter settings should be tuned based on your system requirements.

2.  In:
          unpublished Bug 32255740 - PART: ORA 700 [SMS PHYSMEM LIMIT] AND ORA 700 [PGA PHYSMEM LIMIT]
     (which was closed as Not a Bug), Development confirmed that this error is meant to indicate a configuration problem.  The recommended configuration is:
           "The threshold for the ORA-700 is that twice the PGA target plus the SGA size must be less than 90% of physical memory."
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-29 02:19 , Processed in 0.100840 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表