Skip to content

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

@fanzhenyu95

Description

@fanzhenyu95

Search before asking

  • 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?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

backendimprovementmake more easy to user or prompt friendly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions