ruanwenjun commented on PR #12826: URL: https://github.com/apache/dolphinscheduler/pull/12826#issuecomment-1336091686
> > Every workflow instance has a distinct id, you will rerun the workflow instance in every 5 minutes? > > In general, the index `process_instance_id` is enough. > > But delete process instance will delete the task instance casde, and the task instance may be with a huge number of rows in it. In my system, it reach 10,000 of rows one day, and total reach 4,000,000 rows. So it need to add this index to speed up delete the task instance with this index We delete the task instance by process_instance_id, I am not clear what is your problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
