RE: Change batch size of Liferay object's batch API's

Jamie Sammons, modified 1 Year ago. New Member Post: 1 Join Date: 9/19/19 Recent Posts

We are using Liferay object's batch API's to import data from and external application. We notice that in the BatchEngineImportTask table the batchsize for processing the data is 100. This makes it take very long to process mass data upload/import.

There is a need to be able to change/increase the batch size. May be a configuration in a property file somewhere or an attribute of the batch API itself? This will help us use this feature more and more for our integrations with external systems.

thumbnail
Mohammed Yasin, modified 1 Year ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts

Hi,

You can configure batch size under Instance Setting - > Batch Engine -> Import Batch Size