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

Create index on radacct_id column on user_stats table #71

Open
wants to merge 6 commits into
base: cake4
Choose a base branch
from

Conversation

h-nargesi
Copy link

I have a VPN server and I use RADIUS-desk for users authentication.

Base on MySQL slow query log, There is a query with a join between radacct and user_stats tables that is very slow. This problem does not occur when the amount of data is small. After a while, when the table gets big, this query becomes slow.

The newly created index will fix this problem.

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

Successfully merging this pull request may close these issues.

1 participant