MySQL Forums
Forum List  »  Performance

Re: Correctly setting mysql options for a huge DB with intense trafic
Posted by: Rick James
Date: November 20, 2010 10:19PM

Turn on the Slowlog; set long_query_time = 1; see what crops up.

key_buffer_size -- make it big enough to handle all the indexes for your MyISAM tables. (You seem to have enough RAM.)

What are the values of max_connections and Max_used_connections?

Opened_tables and Threads_created are quite low; no action needed.

You say the connections are persistent, yet it averages 4 connections/sec. Can you explain the apparent discrepancy?

When it chokes, is it doing InnoDB or MyISAM stuff?

SHOW VARIABLES LIKE 'query_cache%';
SHOW GLOBAL STATUS LIKE 'Qc%';
(and what is Uptime when you get those values.)
One of the links discusses the potential drawbacks of the Query cache; turning off HyperThreading and/or cores may relieve the pressure.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Correctly setting mysql options for a huge DB with intense trafic
1438
November 20, 2010 10:19PM


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.