Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to the error of ORA-04031 reported by Oracle11G

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Problem phenomenon:

Migrate the customer's database to the new minicomputer, and the customer encounters the following error when using Oracle:

Application that throws an exception: Hebcz.Platform.VM

Type of exception thrown: DDTek.Oracle.OracleException

The method that throws the exception: system. Collection. Generic.List`1 [Hebcz.Platform.DTO.VM.VMTypeDTO] SelectVmTypeByAppTypeID (Int32)

Message contained in the exception: [4031] ORA-04031: unable to allocate 3896 bytes of shared memory ("shared pool", "Select VOUCHERTYPEID,APPTYPE...", "sga heap (1mem0)", "kglsim object batch")

Solution:

Modify the values of SGA_MAX_SIZE and SGA_TARGET from 1G to 5G with the following command, and the database is normal.

SQL > alter system set sga_max_size=5G scope=spfile

SQL > alter system set sga_target=5G scope=spfile

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report