Jump to content

Recommended Posts

Hello There,

 

I have a very important question that is bothering me for sometime now.  I program in classic ASP working in front of MySQL database.  I had a couple of pages that executes a a couple of queries.  Note: that the 2 queries call upon 2 different tables with each have a combined records of 100. I checked my ASP connection close thoroughly but found nothing unusual.  Now, when I logged on to MySQL Administrator and checked my Server Connections I saw a few open with many being in sleep mode and just one that is active.  This is really unhealthy is that correct as I chose the Health tab and saw that there are about 468 queries running (max allowed is 1114).  I am just one user and just thought to myself what will happen if there were 100 users on my website at the same time.  The website would shut down.  I did a little test.  I erased all files on my server and left with nothing.  I logged on the MySQL admin and went to the Server Connections and saw that there are 2 (one asleep and one active). Then, went to the Health tab and saw that there were 300 (somtimes it gets upto 500) queries running, traffic is upto 10MB, Usage is over 5% and Key Efficiency Hitrate is 100%.  This tells me that it has nothing to do with ASP.  Now my question is what is the norm, if I run the ASP code will it shut my website, why are there many SQL queries running with no code present, and is it safe to run my website with these numbers in mind?

 

Thanks so much and I would appreciate any help out there.

 

Thanks

Awny

Link to comment
https://forums.phpfreaks.com/topic/161547-mysql-admin/
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.