Show TOC

Defining Parallelization of Batch QueriesLocate this document in the navigation structure

Context

By defining the parallelization of batch queries you can optimize the performance of batch request processing. For this an IMG activity is available: In transaction SPRO open the SAP NetWeaver reference IMG and navigate to Start of the navigation path SAP Gateway Service Enablement Next navigation step Backend OData Channel Next navigation step Configuration Settings Next navigation step Define Parallelization of Batch Queries End of the navigation path.

In case of serialization the duration of the consecutive queries is the sum of all query processing times. Contrary to this, the total duration in parallel mode is just the maximum duration of these query processing times and a minimal overhead for parallelization.

The following parameters are valid for the current SAP client:
  • Activate Parallelization for Batch Queries

    Select or deselect this option to enable or disable the parallelization of batch request processing.

  • Maximum Number of Parallel Queries

    Specify the maximum number to limit the amount of parallel processing queries to save system resources. This number will be ignored if it is greater than the maximum number of dialog work processes available at parallelization time which is based on system settings (transaction RZ11, profile parameters rdisp/rfc*). Zero (0) means it only depends on current system resources. Default value: 0.

Service-Based Batch Parallelization

You can deactivate the parallelization of batch queries for a single service. This means that the service will run sequentially.

In general you would activate parallelization of batch queries globally in the implementation guide (IMG activity Define Parallelization of Batch Queries) and specify how many batch queries can be processed in parallel. However, you might want to deactivate this on service level for individual services. You can activate the option for disabling of parallelization as soon as batch parallelization is active globally.

  1. Enter the central transaction for Activating and Maintaining Services.

  2. In the Service Catalog select your service and select your system alias in System Alias.

  3. Choose Service Implementation and then Service Configuration (F6).

    The service configuration window is displayed.

  4. In section Service Settings you can activate Disable Parallelization of Batch Requests.

    The default configuration is active for parallelization.

    This option cannot be activated if parallelization has been switched off globally. It can be chosen to specify that it is deactivated for this service if you change the global setting later and later allow parallelization globally.

  5. Activate parallelization globally in the implementation guide (IMG) as explained above.

    The option Disable Parallelization of Batch Requests is no longer greyed out on service level.

Note

Parallelization of batch requests is not possible in soft state mode. If soft state mode remains activated for the current service, parallelization of batch requests will be deactivated at runtime. Soft state and parallelization do not work together.