Open sowadalmughni opened 7 years ago
Problem to be solved: Server side slow response.
Possible Solution: Find out slow queries and optimize the queries.
Timeline: This is a continuous process.
Progress so far.
Looking into
https://github.com/box/Anemometer
To see if we can implement it into our project.
Issue still isn't fixed.
We turned on the MySQL Slow Query log to keep an eye on any queries that take a long time - to find any queries locking up key tables for too long.
Also, monitoring the process list, buffer sizes, table cache, query cache and innodb_buffer_pool_size (the memory allocations can have an affect on query performance which can cause MySQL to eat up CPU). We probably have to set them up manually.
Good Read: http://dev.mysql.com/doc/refman/5.7/en/memory-use.html http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html