Re: set autovacuum=off

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: set autovacuum=off
Дата
Msg-id CA+TgmoZTKY+MpD6tXHOYN5QMagcNJsR_DBJ+fWPqU-voDrkb=Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: set autovacuum=off  (Alessandro Gagliardi <alessandro@path.com>)
Список pgsql-performance
On Thu, Feb 23, 2012 at 3:28 PM, Alessandro Gagliardi
<alessandro@path.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

В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: timing != log duration
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: timing != log duration