SAP Knowledge Base Article - Preview

3300366 - High memory usage when moving ADSO to cold storage

Symptom

For moving ADSO data to the cold storage, a statement similar to the following one is executed:

insert into "/BIC/OADSO13" (
  "ARCHREQTSN",
  "ARCHDPAKID_SID",
  "ARCHRECNO_SID",
  "ARCHDOBJID_SID",
  "CALDAY",
...
  "RECORDMODE"
)
select
  w."_ARCHREQTSN" as "ARCHREQTSN",
  floor((w."_WINDOW_ROW_NUMBER" - 1) / 2147000000) + w."_ARCHDPAKID_SID" + 1 as "ARCHDPAKID_SID",
  mod((w."_WINDOW_ROW_NUMBER" - 1) , 2147000000) + 1 as "ARCHRECNO_SID",
  floor((w."_WINDOW_ROW_NUMBER" - 1) / 1000000) + w."_ARCHDOBJID_SID" + 1 as "ARCHDOBJID_SID",
  w."CALDAY",
...
  w."RECORDMODE"
from (
  select u.*, row_number() over (partition by u."_ARCHREQTSN") as "_WINDOW_ROW_NUMBER"
  from(
select *, 20221209111957000098000 as "_ARCHREQTSN", 0 as "_ARCHDPAKID_SID", 0 as "_ARCHDOBJID_SID" from "/BIC/AADSO32" where "CALYEAR" = '2015'
  ) as u
) as w

This statement fails with a (composite) oom error on HANA side.


Read more...

Product

SAP Business Warehouse all versions ; SAP HANA, platform edition 2.0

Keywords

out of memory , KBA , HAN-DB-ENG-BW , SAP HANA BW Engine , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.