...
- The batch size per thread should match how much work an operation can do
- The default batch size is 20
- e.g. if there are 85 groups to delete, with a batch size of 20, then 5 threads will run at the same time to delete 20, 20, 20, 20, and 5 groups at the same time
Specify the batch size for each operation in the DAO. E.g. for Azure, all operations can happen 20 at a time, but adding memberships can happen 400 at a time...
Code Block @Override public void registerGrouperProvisionerDaoCapabilities(GrouperProvisionerDaoCapabilities grouperProvisionerDaoCapabilities) { grouperProvisionerDaoCapabilities.setDefaultBatchSize(20); grouperProvisionerDaoCapabilities.setInsertMembershipsBatchSize(400);