Hi,
ProcessInstanceInfo and WorkItemInfo tables are purged automatically
when the process instance / work item is no longer needed.
The SessionInfo however is not, as we don't know when a session might be
needed to restore its state later (as it might contains state like
timers, rule data, globals, etc.).
We were actually looking at adding a method to the ksession, destroy(),
that would be similar to dispose() (i.e. release all resources so it can
be garbage collected), but also remove it from the database. Could you
open a JIRA issue, and leave any feedback you might have on this?
Thx,
Kris
On 03/24/2012 03:46 AM, Narayanan Arunachalam wrote:
Hi,
The SessionInfo table gets filled for every new session. What is the need for data in
this table once the process is complete? I checked the code and looks like no delete
operations are found.
Same is the behavior I noticed for ProcessInstanceInfo, WorkItemInfo.
Thanks,
Narayanan
_______________________________________________
jbpm-dev mailing list
jbpm-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-dev