Jump to content

Recommended Posts

I need the help of some of you PHP experts in Mysql/PHP Programming urgently.

 

I create routines and programs that are VERY database intensive.. The most commonly requested programs require MANY users to access a LOT of data in various tables and it is never known just how many will be doing this at the same time.

 

What I NEED from you experts (PLEASE) is suggestions on how to optimize my php/mysql coding to reduce server load.

 

I have spent hours upon hours searching the web for such information but as I\'m sure you all know this process results in 1 article out of probably 1,000 that has some useful value.. LOL.. to say the least it sucks.

 

If YOU can help me with suggestions with ideas for reducing Server load in my php/myslq programming it would be MOST appreciated.

 

Please post your replies here so that others can share in you knowledge and if possible email me at webmaster@amcswebs.com. If you have a website PLEASE send me the url and a banner if you have one. If I use your suggestions I will be sure to make sure people visit your site and will post links on all my sites.

 

Glen McDonald

AMCS Web Services.

Link to comment
https://forums.phpfreaks.com/topic/405-phpmysql-server-load-help/
Share on other sites

first off make sure the web server is handling it\'s load properly. are you using apache? as for coding, don\'t use any functions that may be slower (e.g.: the mysql_result documentation states the other fetch ways are faster). use mysql_free_result. use persistent connections (mysql_pconnect). what configuration is mysql using? it comes with small/med/lrg defaults which recommend which you should use. that\'s about it -- i haven\'t read up on the load balancing yet :shock: perhaps run to your local bookstore and thumb through a few of those really think mysql books?

Link to comment
https://forums.phpfreaks.com/topic/405-phpmysql-server-load-help/#findComment-1355
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.