Just curious to know, is there is any separate process runs to purge the database entries ? Don’t the tables be overloaded with excess entries ? Am asking this question from oracle perspective, there memory actually matters.
to get rid of the old entries you can activate History Cleanup: https://docs.camunda.org/manual/latest/user-guide/process-engine/history/#history-cleanup
Hope this helps, Ingo