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

$c->{irstats2}->{show_archive_only} = 1 results in slow performance of graphs #88

Open
mpbraendle opened this issue Oct 31, 2017 · 0 comments

Comments

@mpbraendle
Copy link

IRStats2 1.1:
If
$c->{irstats2}->{show_archive_only} = 1;
is enabled in the configuration, the Downloads graph on the summary report takes ages to load (about 10-20 times slower than if disabled).
The problem seems to be caused by an inefficient SQL statement at lib/plugins/EPrints/Plugin/Stats/Handler.pm, line 327.
Wouldn't that be better done already during processing of the statistics?

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

No branches or pull requests

1 participant