Re: Limiting connection to mysql using old mysql module (not mysqli)
| From: | Per Jessen | Date: | Sun, 23 Sep 2007 13:11:49 +0000 |
| Subject: | Re: Limiting connection to mysql using old mysql module (not mysqli) | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262386@lists.php.net to get a copy of this message | ||
Stut wrote:
> Indeed, but only if you're making a lot of repetitive queries to the
> database.
Which is typically what a busy website does :-)
> However, since the OP wants to reduce the number of
> connections to the database, query caching may reduce the time each
> connection is held for it will not reduce the overall number of
> connections.
The number of connections is presumably only important if we speak about
the number of concurrent connections. If each query can be dealt with
faster due to caching, the number of concurrent connections should
drop.
/Per Jessen, Zürich