|
Blogs
Part 1 - Introduction and basic settings Full article also available in SDN's Article section here. API Call TimingsOne of the pieces of information logged by the OLAP Data Access logging is the time it took for calls to the OLAP Data Access component API to complete. There are additional logging settings that can be utilized to control the logging of API call timings that make it easier, for example, to identify long running API calls which might point to potential bottlenecks. The exact nature of the logging and the facilities to control it vary slightly between versions of the OLAP Data Access component. MDA API Call Timing BehaviorHere is a list of points describing the behavior of API call timing logging in the MDA version of the OLAP Data Access component.
Note: In practice there is no difference to the amount of API calls logged out at verbosity 5 or 10. If the threshold it at its default setting of zero then times that are less than 0.0001 seconds tend to get rounded off to a value of zero so are not logged. An example of what API call timing log statements look like is given here:
MDA Example registry settingsHere is an example for configuring the registry for capturing just API call timings for MDA 12.
This turns of all logging for APIMODULE at the module level. It set the timer threshold to 500 milliseconds (500 is 1f4 in hexadecimal). It finally sets the TIMER component to log at verbosity 5. If there are no other verbosity settings for other modules or components in the registry, this setting would log only OLAP Data Access API calls that took over half a second. SOFA API Call Timing BehaviorHere is a list of points describing the behavior of API call timing logging in the SOFA version of the OLAP Data Access component.
Note Unlike the MDA version of the API timer logging, logging at verbosity 5 or 10 does make a difference. Logging at verbosity 10 will log two lines for every API call regardless of how long the API call took to complete. The first line logged will indicate the beginning of the API call. For example:
The second log line will indicate the completion of an API call. For example:
SOFA Example registry settingsHere is an example for configuring the registry for capturing just API call timings for SOFA 12.
This turns off all logging for both the COMWRAP and COUTILITIES modules, but turns on logging for the Timer component for both those modules at a verbosity of 5 for COMWRAP and 10 for COUTILITIES. This will mean that there will be a single line logged for any COMWRAP API calls that take an amount of measurable time and two lines (start and end) will be logged for all COUTILITIES API calls. Reuben Cox is in development support at SAP specializing in the NetWeaver web infrastructure components. He was formerly part of Business Objects specializing in OLAP products. |