Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

johnDoe220's avatar

Mysql log in laravel - 108 learnc_learnc localhost:46818 learnc_learnc

hi Hello hosting company from which I get services He sent me an email containing this error in which the email mentioned this How to fix this, which MySQLL has a high consumption It should be noted that the project was implemented with Laravel 8

109 learnc_learnc localhost:46820 learnc_learnc Sleep 2 NULL 0.000
108 learnc_learnc localhost:46818 learnc_learnc
0 likes
11 replies
Tray2's avatar

That doesn't tell us anything.

If there is a high load on your database server you better check your queries and make sure you have the proper indexes.

Tray2's avatar

@johnDoe220 Maybe but more likely that you have some queries that needs tuning and some missing indexes. I suggest you install either the laravel debugbar , Clockwork or Telescope in your dev environment and see the performance and memory usage.

johnDoe220's avatar

@Tray2 I installed the Laravel Debugger package, This is a description of queries .

views = 9 , queries = 50, models 48

Do you think it is standard for the home screen? Thanks

johnDoe220's avatar

@Tray2 Due to the sanctions imposed on Iran, unfortunately, it is not possible to buy courses abroad. Thank you very much.

johnDoe220's avatar

@Tray2 You did a great favor by sharing your knowledge, I will definitely call with @reinink, thank you, have a good night

Please or to participate in this conversation.