MySQL Forums
Forum List  »  PHP

Re: Query grows slower as user activity increases
Posted by: Peter Brawley
Date: June 02, 2022 09:53AM

Especially if all queries are unacceptably slow under heavy load, your DB is probably under-resourced. Is it a shared or dedicated server? How much RAM? If you are mainly using innodb, what is innodb_buffer_pool_size? Have you looked at the result of Show Eingine InnoDB Status when the system is slow?

You could try running some of the metrics under "optimisation cheatsheet" at https://www.artfulsoftware.com/infotree/mysqltips.php, esp. the measures of load,
query inefficiency, and InnoDB efficiency, and post those results here.

But there are many incompatibilities between MariaDB 10.4 and the most similar MySQL version (8.0, https://mariadb.com/kb/en/incompatibilities-and-feature-differences-between-mariadb-104-and-mysql-80/). Performance metrics designed for MySQL may be less useful on MariaDB. so I think you're best off asking on the MariaDB site.



Edited 1 time(s). Last edit at 06/02/2022 09:54AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: Query grows slower as user activity increases
June 02, 2022 09:53AM


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.