What could I do to solve this problem? My backend call to sql just to do a pagination of 1000 data delay up to 5.6 second. This is insane for production.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there @oudamsith,
I’ve seen similar problems in the past, one solution worked quite well for me as described here:
barrier=0
:Another thing that you could do is use the MySQLtunner script to test your SQL instance and adjust your settings:
https://www.digitalocean.com/community/questions/how-to-tweak-mysql-mariadb-configuration-for-increased-performance-and-stability
Regards, Bobby