Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到 jbpm_byteblock 已经增长到几百万行并且超过 GB。
有没有办法删除与已结束任务和进程相关的行?
取决于您可能使用的 jBPM 版本。但是对于 jBPM 5.x,如果您不再需要它们,您可以删除已完成/中止的任务。这可以使用侦听器自动执行:
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-services/jbpm-human-task-services/src/main/java/org/jbpm/services/task/admin/listener/TaskCleanUpProcessEventListener.java