I set new ttl = 0 and ran curl history/process-instance/set-removal-time for clean up my database but it use space more than before

I expected it will use less than space … because act_hi_actinst, act_hi_varinst and act_ge_byearray use many disk space

Hi @nokhookbew,

Did you try to trigger a history cleanup, e.g. by REST API?

Best,
Miklas

I did not try trigger with POST /history/cleanup
I only used [Update history time to live PUT /process-definition/{id}/history-time-to-live for updated ttl to 0,then POST /history/process-instance/set-removal-time

Should I try with history cleanup after ran 2 rest above? but now records is gone
or the camunda has background process to consume database for back up something ?