Re: Disconnect database connection after idle timeout

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC0_be23d4=V48jMbReP=A=8TvkF3aCOE=nXsN56Khwf18m85w@mail.gmail.com>
On Thu, Nov 13, 2014 at 11:29 AM, Dr James Smith <[email protected]> wrote:

> From experience - and having chatted with our DBAs at work, with modern
> Oracle and with MySQL keeping persistent connections around is no real gain
> and usually lots of risks


It's certainly good to know how long it takes to get a fresh connection and
consider whether you need persistent connections or not. Connecting tends
to be fast on MySQL and caching is probably not needed unless you're
running a very performance-sensitive site. The last time I worked with
Oracle, connections were too slow to run without caching them. That was
years ago though, and the situation may have improved.

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.