dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Improvement][Dao] Optimize pagination query performance by adding appropriate indexes

Open fanzhenyu95 opened this issue 1 month ago • 0 comments

Search before asking

  • [x] I had searched in the issues and found no similar feature requirement.

Description

The pagination queries for project list, workflow instance list, and task instance list are very slow, especially when the data volume is large. This affects the user experience significantly.

After analyzing the database structure and query patterns, I found that the main reason for the slow query is the lack of appropriate indexes for the commonly used filter conditions and sort fields.

Are you willing to submit a PR?

  • [x] Yes I am willing to submit a PR!

Code of Conduct

fanzhenyu95 avatar Nov 29 '25 06:11 fanzhenyu95