What are the process instances that we need to delete automatically as soon as we execute the process ?

What are the process instances that we need to delete automatically as soon as we execute the process ? to improve DB performance.

  Discussion posts and replies are publicly visible