Skip site navigation (1) Skip section navigation (2)

Re: Postgres performance problem

From: Bill Moran <wmoran(at)collaborativefusion(dot)com>
To: Chris Mair <chris(at)1006(dot)org>
Cc: Ruben Rubio <ruben(at)rentalia(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres performance problem
Date: 2007-08-27 13:29:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
In response to Chris Mair <chris(at)1006(dot)org>:

> > Hi,
> > 
> > Note: I have already vacumm full. It does not solve the problem.

To jump in here in Chris' defense, regular vacuum is not at all the same
as vacuum full.  Periodic vacuum is _much_ preferable to an occasional
vacuum full.

The output of vacuum verbose would have useful information ... are you
exceeding your FSM limits?

Try a reindex on the database.  There may be some obscure corner
cases where reindex makes a notable improvement in performance.

> > I have a postgres 8.1 database. In the last days I have half traffic
> > than 4 weeks ago, and resources usage is twice. The resource monitor
> > graphs also shows hight peaks (usually there is not peaks)

Resource monitor graphs?  That statement means nothing to me, therefore
I don't know if the information they're providing is useful or accurate,
or even _what_ it is.  What, exactly, are these graphs monitoring?

You might want to provide your postgresql.conf.

Have you considered the possibility that the database has simply got more
records and therefore access takes more IO and CPU?

> > The performarce is getting poor with the time.
> > 
> > Im not able to find the problem, seems there is not slow querys ( I have
> > log_min_duration_statement = 5000 right now, tomorrow I ll decrease it )
> > 
> > Server is HP, and seems there is not hardware problems detected.
> > 
> > Any ideas to debug it?
> Hi,
> first of all: let us know the exact version of PG and the OS.
> If performance is getting worse, there ususally is some bloat
> envolved. Not vacuuming aggressivly enough, might be the most
> common cause. Do you autovacuum or vacuum manually?
> Tell us more...
> Bye,
> Chris.
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?

Bill Moran
Collaborative Fusion Inc.

Phone: 412-422-3463x4023

IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

In response to


pgsql-performance by date

Next:From: Willo van der MerweDate: 2007-08-27 13:41:42
Subject: Performance issue
Previous:From: Max ZorloffDate: 2007-08-27 13:18:19
Subject: Re: Shared memory usage

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group