首页 > 解决方案 > 在超过 100 万行的 xmltype 列上使用 updatexml 时出现 Oracle 内存错误

问题描述

我有一个脚本来更新 xmltype 特定节点作为屏蔽数据的一部分。使用 Xmltype 列的 updatexml 函数运行更新时,在 oracle 中出现内存错误。

Update table1 
set xmlcolum = updatexml(xmlcolumn,’/row/c41/text()’,’Mask’)

该表中的总行数为 1,154,720

Ora-04030: 尝试分配 33584 字节时进程内存不足

标签: oraclexmltypeupdatexml

解决方案


推荐阅读