From: Sergey Tsukinovsky <Sergey.Tsukinovsky@cryptologic.com>
To: Ron <rjpeace@earthlink.net>
To: Mario Weilguni <mweilguni@sime.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: postgres: 100% CPU utilization
Date: Tue, 24 Apr 2007 11:30:05 -0400
Message-ID: <2C20E65455FC964690D89F8C4A2E9B1D03ABA7F9@STRAIGHTFLUSH.cryptologic.com> (raw)
In-Reply-To: <E1Hg07i-0004wn-Sr@elasmtp-dupuy.atl.sa.earthlink.net>
References: <2C20E65455FC964690D89F8C4A2E9B1D03A669CD@STRAIGHTFLUSH.cryptologic.com>
<200704231053.38952.mweilguni@sime.com>
<E1Hg07i-0004wn-Sr@elasmtp-dupuy.atl.sa.earthlink.net>
Thanks for this reply, Ron.
This is almost what I was looking for.
While the upgrade to the latest version is out of the question (which
unfortunately for me became the subject of this discussion) still, I was
looking for the ways to improve the performance of the 7.0.2 version.
Extensive use of vacuum was almost obvious, though I was hoping to get
some more tips from postrges gurus (or dinosaurs, if you want).
Anyways, the 8.2.4 was not performing so well without auto-vacuum. It
ramped up to 50% of CPU usage in 2 hours under the load.
With the auto-vacuum ON I've got what I really need and thus I know what
to do next.
Just for the record - the hardware that was used for the test has the
following parameters:
AMD Opteron 2GHZ
2GB RAM
LSI Logic SCSI
Thanks everyone for your assistance!
Sergey
-----Original Message-----
From: pgsql-performance-owner@postgresql.org
[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Ron
Sent: Monday, April 23, 2007 11:07 AM
To: Mario Weilguni
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] postgres: 100% CPU utilization
At 04:53 AM 4/23/2007, Mario Weilguni wrote:
>Am Donnerstag, 19. April 2007 schrieb Sergey Tsukinovsky:
> > 2. What would be the recommended set of parameters to tune up in
order
> > to improve the performance over the time, instead of considering an
> > option to vacuum every 30 minutes or so?
> >
> > 3. Is it safe to run 'vacuum' as frequently as every 15-30 minutes?
>No problem.
>
> >
> > 4. Suggestions?
>Do yourself a favor and upgrade at least to 8.1.x and use autovacuum.
In fact, I'll go one step further and say that pg improves so much
from release to release that everyone should make superhuman efforts
to always be running the latest stable release.
Even the differences between 8.1.x and 8.2.x are worth it.
(and the fewer and more modern the releases "out in the wild", the
easier community support is)
Cheers,
Ron Peacetree
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
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-performance@postgresql.org
Cc: Sergey.Tsukinovsky@cryptologic.com, rjpeace@earthlink.net, mweilguni@sime.com
Subject: Re: postgres: 100% CPU utilization
In-Reply-To: <2C20E65455FC964690D89F8C4A2E9B1D03ABA7F9@STRAIGHTFLUSH.cryptologic.com>
References: <2C20E65455FC964690D89F8C4A2E9B1D03A669CD@STRAIGHTFLUSH.cryptologic.com> <200704231053.38952.mweilguni@sime.com> <E1Hg07i-0004wn-Sr@elasmtp-dupuy.atl.sa.earthlink.net> <2C20E65455FC964690D89F8C4A2E9B1D03ABA7F9@STRAIGHTFLUSH.cryptologic.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