Re: set autovacuum=off

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alessandro Gagliardi <alessandro(at)path(dot)com>
Cc: Peter van Hardenberg <pvh(at)pvh(dot)ca>, Steve Crawford <scrawford(at)pinpointresearch(dot)com>, Andy Colson <andy(at)squeakycode(dot)net>, Thom Brown <thom(at)linux(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: set autovacuum=off
Date: 2012-03-21 14:32:26
Message-ID: CA+TgmoZTKY+MpD6tXHOYN5QMagcNJsR_DBJ+fWPqU-voDrkb=Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, Feb 23, 2012 at 3:28 PM, Alessandro Gagliardi
<alessandro(at)path(dot)com> wrote:
> I'm unable to make sense of pg_locks. The vast majority are
> locktype='transactionid', mode='ExclusiveLock', granted=t. There are some
> 'relation' locks with mode='RowExclusiveLock' and fewer with
> 'AccessShareLock'. I have no idea what I should be looking for here.

If you have lock contention, you'll see locks with granted='f', at
least from time to time. Those are the ones you want to worry about.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Albe Laurenz 2012-03-21 14:48:09 Re: timing != log duration
Previous Message Tom Lane 2012-03-21 14:11:22 Re: timing != log duration