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

Database Optimization #4

Closed
surfrock66 opened this issue Jun 9, 2016 · 1 comment
Closed

Database Optimization #4

surfrock66 opened this issue Jun 9, 2016 · 1 comment

Comments

@surfrock66
Copy link
Owner

During the cleanup on INC #3 I realized how unoptimized my database was; you couldn't do queries or uploads while the cleanup was running, and each cleanup step took 40+ minutes. After optimizations, you CAN do parallel operations now, and each cleanup step is down to ~20 minutes. With cleanup running, the website load has gone from ~9 seconds to ~5 seconds. My steps need to be documented, and the table/db create scripts must be updated.

@surfrock66
Copy link
Owner Author

Scripts are updated. I recommend people run this:

ALTER TABLE torque.raw_logs ENGINE=InnoDB;
ALTER TABLE torque.torque_keys ENGINE=InnoDB;
ALTER TABLE torque.sessions ENGINE=InnoDB;

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