-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Hard removal of items in the database (scalability discussion) #13992
Comments
I made this graph a long time ago to answer the same question, hope it helps! |
Oh yes, absolutely, thanks! I have a spreadsheet with reasonably precise estimates of number of rows per table on main, but that one is from 2020, so I'll update it and then post it here. (while size per table is a more useful metric, a curious detail, at least from 2 years ago, was that 42 tables had zero rows). |
Really easy to get from the following query if you just need fast estimates:
Edit 2: 50 empty tables
|
Thank you! Very easy indeed. So we have 110(!) empty tables (which includes a few that are not in the model, but still..) |
And for the record, here's the query I was using in Montpellier to get some of the space usage numbers:
Just total bytes alone would be useful as a gxadmin query to use as a Grafana data source. |
The following is a subset of items identified during the scalability discussion at the team meeting in Montpellier (May 16-20, 2022):
job_metric_*
tables?job_state_history
? (trim? remove if not used?)galaxy_session
) can be deleted and should begalaxy_user
table)update_time
column fromjob_state_history
table Drop update_time from JobStateHistory #13997The text was updated successfully, but these errors were encountered: