MySQL Forums
Forum List  »  Performance

Re: Slow response time due queries
Posted by: Rick James
Date: September 23, 2014 10:11PM

Why the inconsistency??
> "innodb_buffer_pool_size" "878706688"
> innodb_buffer_pool_size=4G

general-log=1 -- This costs a lot of I/O.
long_query_time=10 -- Decrease this so the slowlog is more useful; recommend 2
max_connections=1500 -- Do you need this many?
query_cache_size=200M -- This is bad for performance. Recommend only 50M.
tmp_table_size=129M -- This could be disaster if you have multiple connections needing tmp tables. You probably cannot afford N*129MB of RAM.

> The response time of the queries is slow. The queries are optimized to use the existing indexes.

Please show us some of the slow queries, together with the relevant SHOW CREATE TABLE. They may not be as optimized as they can be.

Options: ReplyQuote


Subject
Views
Written By
Posted
5345
September 23, 2014 01:32AM
Re: Slow response time due queries
1739
September 23, 2014 10:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.