We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
archive hourly task always failed, and try to call rundim() throws "#1205 Lock wait timeout exceeded; try restarting transaction" exception.
Database: razor_fact_clientdata has 852,309 records, while razor_fact_usinglog has 1,301,013 records.
Do you have any idea how to optimize DB?
The text was updated successfully, but these errors were encountered:
can you provide which SQL is locked in rundim?
Sorry, something went wrong.
Restart mysql solve this problem.
But the cron tasks cost too long time now, so we stopped the tasks.
When I "call rundim()" manually, the procedure cost 180 seconds. call runfact('2013-02-07 10:00:00','2013-02-07 10:59:59') cost 25 seconds. call runsum('2013-02-07 10:00:01') cost 210 seconds.
The max table I found in razor database is razor_clientusinglog ~ 3,419,202 records.
It seems that speed of Store procedure is normal, maybe the cron task executed timeout. Any more information can be provided about this?
No branches or pull requests
archive hourly task always failed, and try to call rundim() throws "#1205 Lock wait timeout exceeded; try restarting transaction" exception.
Database: razor_fact_clientdata has 852,309 records, while razor_fact_usinglog has 1,301,013 records.
Do you have any idea how to optimize DB?
The text was updated successfully, but these errors were encountered: