Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Archiving of Camunda BPM Process Instances

Tags:

camunda

What is the best possible approach to archive the Camunda Process instances ? Is there a recommended setup to move or separate the historic processes from running processes.

Regards,

Phani

like image 244
Srinivas Avatar asked Oct 23 '25 15:10

Srinivas


1 Answers

Camunda already separates runtime information (act_ru_* tables) and historic information (act_hi_* tables). If you would set your history level to "none", no historic information will be written at all, which shows that the engine works without historic tables.

So it is completely up to you, you can delete/archive/move historic information at will.

Typically, you would want to keep the historic information of running and recently finished instances for error analysis, and the management will be interested in historic reports, so there is more to it in deed.

What we do:

  1. archive all historic information of finished processes that have been finished for at least a month.
  2. provide relevant reporting data on a daily basis, so reporting is not done on the act_hi_ tables but a different, custom, schema

hope that helps.

like image 197
Jan Galinski Avatar answered Oct 27 '25 00:10

Jan Galinski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!