Re: Query performance inconsistant.

Поиск
Список
Период
Сортировка
От Matthew Schumacher
Тема Re: Query performance inconsistant.
Дата
Msg-id 44F73ABE.4050409@aptalaska.net
обсуждение исходный текст
Ответ на Re: Query performance inconsistant.  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Query performance inconsistant.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [pgsql-advocacy] Thought provoking piece on NetBSD
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Query performance inconsistant.