Re: Limiting connection to mysql using old mysql module (not mysqli)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux