0

We have a number of process chains that run during the day loading data from our SAP R/3 system into SAP BW. They usually take about thirty minutes to run. This week they've been taking over an hour.

We compared this weeks runs against last weeks runs using /SSA/BWT but the runtimes of the individual load and activation steps are roughly the same.

The one thing that we've noticed is that the chain appears to pause ("On Hold") while SAPLRSSM deletes data from TESTDATRNRPART0.

Haven't managed to find much information about this online, but it seems to be a temporary table that is used when data is moved from the PSA tables to an InfoObject.

Can anyone tell us more about this table, and give us any pointers why it could be taking longer than normal?

migrated from superuser.com Feb 20 '14 at 18:17

This question came from our site for computer enthusiasts and power users.

0

In the end we discovered (with help from SAP) that the reason that deleting from this table was taking longer than normal (and then causing the process chain take longer to complete) is that the Cost Based Optimiser (CBO) within the Oracle database was deciding not to use the index for this table.

And the reason it wasn't using the index is that the DBMS_STATS job that produces statistics about the table was running at a time when the table was empty.

The solution was to hard-code statistics for this one table, so that the CBO always picks an execution plan that uses the index. More detail in SAP Note 1020260.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.