From: Robert John Shepherd <robert@reviewer.co.uk>
To: pgsql-odbc@postgresql.org
Subject: Connection pooling
Date: Thu, 6 Mar 2003 01:11:33 -0000
Message-ID: <001201c2e37d$54351fa0$f3b0313e@LAIKA> (raw)
I still suffer from a problem relating to connection pooling with the
ODBC driver.
I have a finite number of connections allowed on my pgsql server which
is ample for my website 99% of the time. However whenever there is an
interruption of network data between my web server and db server, this
seems to result in a sudden huge increase in connection attempts which
quickly exceeds the number available.
This also happens whenever I do something that ties up the db server for
any length of time on a single query, such as rebuilding tsearch
indexes.
I'm presuming this is related to our website users getting frustrated
and clicking refresh, causing a new connection attempt each time.
Is this a valid assessment of the situation? And if so is there any
solution?
I'd far rather my web server just waited for an existing connection to
become available when its at the limit than get an instant refusal. :/
Slow webpages are better than no webpages or ones with errors all over
them (or in our case ones inviting our users to email us and let us know
its borked!).
Yours Unwhettedly,
Robert John Shepherd.
Editor
DVD REVIEWER
The UK's BIGGEST Online DVD Magazine
http://www.dvd.reviewer.co.uk
For a copy of my Public PGP key, email: pgp@robertsworld.org.uk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: robert@reviewer.co.uk
Subject: Re: Connection pooling
In-Reply-To: <001201c2e37d$54351fa0$f3b0313e@LAIKA>
References: <001201c2e37d$54351fa0$f3b0313e@LAIKA>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox