Re: Query performance inconsistant.

From: Matthew Schumacher <matt(dot)s(at)aptalaska(dot)net>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Query performance inconsistant.
Date: 2006-08-31 19:38:38
Message-ID: 44F73ABE.4050409@aptalaska.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Davis wrote:
> http://www.postgresql.org/docs/8.1/static/mvcc.html
>
> In the "Explicit Locking" section it details the locks acquired by
> UPDATE, etc.
>
>>From what you described, I would not expect many locking problems. Are
> there any other types of queries you run that may cause a lock? Do you
> run periodic "VACUUM FULL" or something? "VACUUM FULL" causes a full
> table lock, and is usually not necessary. If so, try running just
> "VACUUM" without "FULL".
>
> Regards,
> Jeff Davis
>

Jeff,

I have "autovacuum = on" in the config file with a pretty frequent
autovacuum_naptime, but I'm unsure if that does a vacuum or vacuum full.

schu

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-08-31 19:51:18 Re: Query performance inconsistant.
Previous Message Tom Lane 2006-08-31 19:33:59 Re: [GENERAL] Thought provoking piece on NetBSD