From: Jan Wieck <JanWieck@Yahoo.com>
To: Martin Foster <martin@ethereal-realms.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance Bottleneck
Date: Sat, 07 Aug 2004 10:21:00 -0400
Message-ID: <4114E54C.7040200@Yahoo.com> (raw)
In-Reply-To: <ktQPc.23297$yT2.16983@clgrps13>
References: <ktQPc.23297$yT2.16983@clgrps13>
On 8/3/2004 2:05 PM, Martin Foster wrote:
> I run a Perl/CGI driven website that makes extensive use of PostgreSQL
> (7.4.3) for everything from user information to formatting and display
> of specific sections of the site. The server itself, is a dual
> processor AMD Opteron 1.4Ghz w/ 2GB Ram and 2 x 120GB hard drives
> mirrored for redundancy running under FreeBSD 5.2.1 (AMD64).
>
> Recently loads on the site have increased during peak hours to the point
> of showing considerable loss in performance. This can be observed
> when connections move from the 120 concurrent connections to PostgreSQL
> to roughly 175 or more. Essentially, the machine seems to struggle
> to keep up with continual requests and slows down respectively as
> resources are tied down.
Have you taken a look at pgpool? I know, it sounds silly to *reduce* the
number of DB connections through a connection pool, but it can help.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: JanWieck@Yahoo.com, martin@ethereal-realms.org
Subject: Re: Performance Bottleneck
In-Reply-To: <4114E54C.7040200@Yahoo.com>
* 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