MySQL Forums
Forum List  »  Performance

Re: High memory used by MySQL
Posted by: Peter Brawley
Date: March 02, 2020 04:17PM

> mysaladmin refresh then back
> with memory used to the limit

That flushes all table buffers, closes & reopens log files, so may momentarily reduce the memory load of those buffers too.

Handler_read_rnd_nxt/sec is 294K in this time period, much too high, you need to optimise the queries that are causing this debacle---turn the slow query log on, get after the queries causing that high number.

handler writes/sec 154k, > 20k/sec indicates inefficient code is stressing the system---your Inserts need optimising, see https://dev.mysql.com/doc/refman/5.7/en/insert-optimization.html

Options: ReplyQuote


Subject
Views
Written By
Posted
1040
February 12, 2020 02:45AM
688
February 12, 2020 11:41AM
544
February 13, 2020 09:24AM
562
February 13, 2020 11:49AM
522
February 14, 2020 09:05AM
466
February 14, 2020 11:06AM
492
March 02, 2020 04:12AM
Re: High memory used by MySQL
441
March 02, 2020 04:17PM
365
March 02, 2020 08:35PM
413
March 02, 2020 08:36PM
489
March 03, 2020 06:12AM
393
March 03, 2020 11:51AM


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.