Jump to content

Lots of queries. Optimization help.


Asheeown

Recommended Posts

I'm making a program that is going to be communicating with mysql a lot.  For all of it's directions actually.  It's going to constantly run select queries to check for pending commands and constantly run insert queries to write other data to other tables.  There will be lots of these running at once.  So lets say 100 people are using it at the time and they average 10 queries a second.  How do I lower my bandwidth usage?  Should I keep an open connection for each user?  Is there a way to keep a query open so it doesn't need to execute every time but basically post changes?

 

Just looking for any suggestions on lowering my usage.  If you don't think that many queries is a problem that's fine with me, I'd like to hear that too  ;)

Link to comment
https://forums.phpfreaks.com/topic/182869-lots-of-queries-optimization-help/
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.