Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying view queries to improve performance in MySQL / MariaDB. #5988

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

peter-cheon
Copy link

When using the SCDF UI on an SCDF server based on MySQL / MariaDB, executing job executions becomes slow during pagination if there are thousands of job history records.

This occurs because job executions and other histories are basically exposed in descending order. Creating a view based on descending order can lead to performance improvements.

For reference, when an internal SCDF server had about 8,000 job history records, creating a descending order-based view reduced the pagination movement speed for the 8,000-item list from 30 seconds to 5 seconds.

This has only been verified in MySQL / MariaDB, so modifications for other databases have not been made.

@cppwfs cppwfs added this to the 2.11.x milestone Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants