I am new to Activiti framework and the project was outsourced before I join the team. The project is based on Activiti framework, the database is sqlserver and tomcat as an application server. Whenever I had a merge process(a new instance process), in the console log it displays that for creating and completing the process the batch size is 1000, by googling I found that by default the batch size is 1000. How can I increase it to sth more to have the merge process faster? I couldn't find the config file or any related field in database. Could you experts help me in this era where is the configuration of batch process and batchsize? Thanks.
One of the customized features in the Process/"Deployed process definitions" menu is Worklist Merge, by starting this process one instance would be created and this will create one new job. In the background one process is created and will be completed after merging. Here this merge doesn't happen in seconds, for example if we had count size of 20k rows for merge, it'll be divided to some batches with default size of 1000. If it could happen all together it would be really faster. I couldn't find the batch size configuration, I just found in google such as : https://technet.microsoft.com/en-us/library/dd425070(v=sql.100).aspx If BATCH_SIZE is not specified, BCP will use 1000 as the default value.
You're using many words which are unknown to me, I still don't get what 'merge' is in this context, nor if the batch size is something you expect from Activiti or from your database?
Looking at the link, I am assuming you need to set a batch size for your database? If this is not set in the jdbc url, then i dont believe you can set it directly in Activiti.