Jump to content

database overloading


Hologram

Recommended Posts

Hi all,

we have got following email from the hosting company:

 

>Hi,

>your database **** overloads our server mysql***, maybe

>due to wrong table arrangement - 85% of all queries waiting for writing

>fall on your database.

 

>Your database on our server mysql*** has over 80% of all time lock tables.

 

Anyone experienced in this issue?

The average number of queries per script is about 30. Sometimes it's over 45. It is too much? I know there is double calling to mysql_connect within the script, so it is possible there are two connections into database within the script. I am trying to resolve it. Can it cause this problem?

We are using database abstract layer from phpbb to access database, so I assume there wouldn't be any problem in it.

 

Number of visits is quite small, about 350 daily.

 

Any help appreciated, thanks.

Link to comment
https://forums.phpfreaks.com/topic/160612-database-overloading/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.