oracle 尝试分配内存,ORA-04030: 在尝试分配 8388108 字节 时进程内存不足 求解决办法。...

Planning Data Pull Worker Fails With Ora-04030 [ID 1268629.1]

--------------------------------------------------------------------------------

Modified 11-MAR-2011     Type PROBLEM     Status PUBLISHED

In this Document

Symptoms

Changes

Cause

Solution

References

--------------------------------------------------------------------------------

Applies to:

Oracle Advanced Supply Chain Planning - Version: 11.5.10.2 and later   [Release: 11.5 and later ]

Information in this document applies to any platform.

MSCPDPW

ORA-04030

Symptoms

Planning Data Pull Worker completes with error when running a full data collection.

ERROR

=======

Procedure LOAD_HARD_RESERVATION started.

Error pulling data from MRP_AP_HARD_RESERVATIONS_V to MSC_ST_RESERVATIONS.

ORA-04030: out of process memory when trying to allocate 16776728 bytes (QERHJ hash-joi,QERHJ Hash Table Entries)

Changes

Installed

Patch 8671960 - APS COLLECTIONS RUP#32 PATCH FOR 11.5.10 BRANCH

Cause

The problem of Planning Data Pull Procedure LOAD_HARD_RESERVATION failing with

the message:

Error pulling data from MRP_AP_HARD_RESERVATIONS_V to MSC_ST_RESERVATIONS

ORA-04030: out of process memory when trying to allocate 16776728 bytes (QERHJ hash-joi,QERHJ Hash Table Entries)

is known to have been caused by inadequate CBO statistics because the SQL

select

OWNER

, TABLE_NAME

, NUM_ROWS

, SAMPLE_SIZE

, LAST_ANALYZED

FROM

ALL_TABLES

where

TABLE_NAME in -- Tables referenced by MRP_AP_HARD_RESERVATIONS_V

('MSC_ST_RESERVATIONS'

, 'PJM_PROJECT_PARAMETERS'

, 'OE_ODR_LINES_SN'

, 'MTL_SYS_ITEMS_SN'

, 'MTL_RESERVATIONS_SN');

returned null values for the NUM_ROWS, SAMPLE_SIZE, and LAST_ANALYZED columns

for the three snapshots.

Stats had not been gathered for those snapshots since customer's application of

Patch 8671960 - APS COLLECTIONS RUP#32 PATCH FOR 11.5.10 BRANCH .

In the patch, the collections snapshots were moved from the original ERP schemas like INV, MRP, and ONT to the APPS schema. The customer's existing automated stats gathering process had not been updated to track this schema move.

The lack of stats misleads the CBO. The database server then creates an execution plan that tries to use unreasonable amounts of memory, leading to the ORA-04030.

Solution

Regardless of your version, be sure that stats are regularly gathered on the APPS schema.

References

NOTE:353411.1 - Out of Process Memory Planning ODS Load Worker Results in ORA-04030 Error

Related

--------------------------------------------------------------------------------

Products

--------------------------------------------------------------------------------

•More Applications > Value Chain Planning > Supply Chain Planning > Oracle Advanced Supply Chain Planning

Keywords

--------------------------------------------------------------------------------

MSC_ST_RESERVATIONS; MRP_AP_HARD_RESERVATIONS_V; MSCPDPW; CBO; STATS; SNAPSHOT; PLANNING DATA PULL

Errors

--------------------------------------------------------------------------------

ORA-4030

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值