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

134 add additional index for getJobsByStatus call #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JesKingDev
Copy link
Contributor

@JesKingDev JesKingDev commented Feb 26, 2023

Overview

As the cron_schedule table grows before it is cleaned, the performance of the getJobsByStatus call degrades due to a missing table index.

Resolves #134

Testing

Prior to pulling this down, run the following SQL against your db and notice that no index is used.
CleanShot 2023-02-26 at 12 36 08@2x

After installing, run the same query
CleanShot 2023-02-26 at 12 37 25@2x

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.

SQL Performance degredation as cron_schedule grows
1 participant