-
Notifications
You must be signed in to change notification settings - Fork 122
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
Use a large temporary file for sorting when clicking Downloads on the My Transfers screen #1888
Comments
Could you please post the output of an The query uses
I have a feeling that forcing a limit in the query on userid first and a date range might unlock the expected performance. I'll have a think about what that SQL might look like for a subsequent reply. |
Thank you for your response.
|
@monkeyiq I want to try "help sort by downloads by better recording the count". |
The This You will need to have either a patched filesender or pull git |
I see. I wondered why the |
When there are many transfer histories, very large files are needed to sort by
Downloads
(date) on the My Transfers screen.In our site's case, it needs over 1 GB. And it takes more than 30 seconds to display.
It is not related to the number of transfers displayed on My Transfers screen, but depends on the number of total transfers in the Transfers/AuditLogs tables on MySQL database.
Number of rows in Transfers table;
about 40,000
Number of rows in AuditLogs table;
about 800,000
SQL
The text was updated successfully, but these errors were encountered: