Posted by Oliver Grδtz on 12/06/06 11:40
Vincent Delporte schrieb:
> A friend is running a community application in PHP on a shared
> server, and his provider is complaining that it's using the DB too
> much.
I see two possibilities:
a) The provider is crap, your application is not putting too much load
on the DB server. Instead, the server is just too weak.
b) Your application really uses the DBMS too much. But I doubt this
would happen if it was properly programmed. Add an abstraction layer fpr
your requests and log all requests to a file. Then search for the reason
why you are producing too many queries. Caching could be a solution but
I think you'll find a more basic problem.
OLLi
[Back to original message]
|