Can a batch size be configured for addOrUpdate?
Question
How is the batch size configured in Pricefx? Are all records added by api.addOrUpdate
always added in one big batch? Or can we programmatically make a commit or configure how big (maximum number of records) the batch is?
And if addOrUpdate
does not do batches, can some API function handle updates in batches on their own or do we need to do it manually?
Answer
There is no limit to the amount of rows you can add using api.addOrUpdate
, so it is up to you. Note that during our testing the maximum amount of rows it was possible to update via “Groovy and SQL Console“ tool without the request timing out was ~6 million.
, multiple selections available,
Related content
Combine Documents to Do Batch Upsert
Combine Documents to Do Batch Upsert
More like this
Bulk Load
Bulk Load
More like this
Regular Calculation Dataload Logic
Regular Calculation Dataload Logic
Read with this
pfx-api:update
pfx-api:update
More like this
Upsert
More like this
Update (SAP IS Adapter)
Update (SAP IS Adapter)
More like this
Found an issue in documentation? Write to us.