on 2008 Jun 12 2:27 PM
We have users running a planning transaction SAPLRSBOLAP_BICS_CONSUMER from EP to BW.
The query generated by this transaction times out after 600 seconds. When we look at the data about the query in DB2 -> statement Cache, we see Elapsed time = 197.5 sec, CPU time = 0.5 sec, 'other wait time' = 197 sec. Using RMF we see a huge amount of activity on the ZIIP processors while the query is running.
If I submit the identical query from SPUFI directly on the same DB2 subsystem, it completes succesfully within 2 sec.
Any suggestion on why the query would be executed differently when submitted from SAP than when running from TSO ?
RUNSTATS with INDEX ALL KEYCARD turned out to be the solution to the problem. After doing this, the performance of the query from SAP is better than the one from spufi. Now runs in 0.2 sec vs. 18 minutes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What we see it that Db2 seems to pick a different access path when receiving the query from SAP compared to directly executing the query from SPUFI. We have opened a note in the mean time to get support in order to help resolve the issue. (- message https://service.sap.com/sap/support/message/E/002007974700004918832008 with SAP).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually both processor types are identical. Both statements might use different access paths for any reason, but it's just a guesss without knowing any details on the statement since we never had similar problems.
Regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.