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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.