Engineering
How to clean up/purge the camunda history tables
We get this question very often from customers: How can we get rid of old history data that we don’t need anymore? First it’s important to ask: “What do you mean by ‘old data’?”. This is completely business focused and depends on the use of cockpit, who is working with the history data, how reports are generated and maybe even constraints due to legislation. One of our customers – Hamburger Sparkasse (Haspa) – built a solution that is flexible enough to address the issues raised by the questions above: They created a bunch of SQL scripts Created a parameter for the number of days that completed process instances should remain in the database which then moved the old data into a set of archive…
