-
Notifications
You must be signed in to change notification settings - Fork 184
[9.0] JobDB snapshot: use a summary table for jobs in final state #8181
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
Conversation
46e2c90 to
e59342c
Compare
be1976f to
8dcc722
Compare
28402f9 to
589f8d9
Compare
589f8d9 to
59301f1
Compare
chrisburr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summarising the discussion we just had:
- Maybe triggers are a better fit for this?
- If we did keep this implementation (to be discussed if we take this route):
- The query should be a scheduled job in MySQL itself
- Have a table showing when the table was last updated rather than using
UTCDATE(at which point we could refresh hourly)
2962712 to
d2937d9
Compare
d2937d9 to
fb260d8
Compare
I went through a bit different route, mostly for fixing the |
|
Superseded by #8199 |
BEGINRELEASENOTES
*WMS:
NEW: JobDB snapshot: use a summary table for jobs in final state
ENDRELEASENOTES
Aims to improve the performance of job and pilot lookups in large Jobs tables by introducing summary tables. This requires the creation of new database tables and includes the following updates:
Description:
Benefits:
This change significantly reduces the lookup time for large Jobs tables.