webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | REST Web Services | REST URL Parameters | batchSize
 
batchSize
The batch size of the number of records that are read or cached in each call to the database. For example, if there are 1000 records available to retrieve and batchSize=100, the server retrieves 100 records at a time, making 10 calls.
Tip: The batch size depends on the amount of memory available for processing on the server. Since conceptual objects use more memory, so you should decrease batchSize for conceptual objects and increase it for data objects. For large conceptual objects, try configuring different values for batchSize to find the size that offers the best response time without generating an OutOfMemoryException error.
Use any positive integer value, for example, batchSize=25. There is no default value.
Use this parameter only in XML REST APIs. JSON payload handles a small set of records which would generally be part of a single batch. Therefore, this parameter is ignored during JSON payload processing. Additionally, during JSON in-memory processing, OneData does not support concurrent processing.

Copyright © 2011-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release