Changing the product batch size is risky, it could cause performance issues for your website.
Please note: changing the product batch size is risky, it could cause performance issues for your website.
In order to prevent your website from running into performance issues or timeouts upon creating product feeds our plugin processes your product feed(s) in small batches.
The default product batch sizes are as following:
- PHP version < 5.6 = batch size of 50 products at once;
- PHP version 5.6 = batch size of 200 products at once;
- PHP version > 7 and the number of products on your website is smaller then 50000 = 750 products at once
- PHP version > 7 and the number of products on your website is over 50000 = 2500 products at once
In pretty much all cases the above default settings are sufficient and don’t need any tweaking or tuning. However we found that some users would like to further reduce the batch size in order to further minimise server resource usage or to prevent timeouts from happening. The opposite is also true, some of our users are running dedicated servers with loads of memory and would like their product feed(s) to be finished faster and would therefor like to increase the product batch size.
As of release 6.4.3 of our plugin it is possible to change the default product batch sizes by taking the following steps:
Go to Settings > Plugin settins and enable the option “Change products per batch number“. You will be prompted with a pop-up warning asking if you really want to make changes to it.
After pressing “yes” you will be able to insert the new product batch number:
And that’s all. When your feed will be refreshed, either manual or automatically, it will override the default batch number and use the number you have just entered.