-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Start Page slow with large actions table #28707
Comments
Thanks for this report. Which DB are you using? And, just because I'm curious, how many rows are in the actions table, what timespan do they cover, and is the significant number of rows in the actions table primarily due to mirrors updating or some other reason? |
@techknowlogick We are using MariaDB 11.1, there currently 6,140,941 records in the table. Records range from Sept 30 2019 to today. It looks like the majority of the operations are op_type = 5, which looks to me to be commits. |
Since #28546 merged, I think this can be closed. Please feel free to reopen it if there is further information. |
Automatically locked because of our CONTRIBUTING guidelines |
Description
I am using Gitea v1.21.3, and my actions table is about 4.5G. I have 87 repos and belong to several orgs with additional repos.
When logging in the initial query to populate the start page takes 45 seconds to run. After adding two indexes the run time is down to 6.5 seconds... still a long time, but better.
New Indexes:
Screenshots
Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
No
Operating System
Windows 10
Browser Version
Firefix 121.0
The text was updated successfully, but these errors were encountered: