Re: index file bloating still in 7.4 ?

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: index file bloating still in 7.4 ?
Дата
Msg-id 3F9522B2.2010009@bigfoot.com
обсуждение исходный текст
Ответ на Re: index file bloating still in 7.4 ?  (Andrew Sullivan <andrew@libertyrms.info>)
Список pgsql-performance
Andrew Sullivan wrote:
> On Mon, Oct 20, 2003 at 05:42:52PM -0400, Tom Lane wrote:
>
>
>>hold of these dead rows instead of recycling them.  I suspect you have
>>a client process somewhere that is holding an open transaction for a
>>long time ... probably not doing anything, just sitting there with an
>>unclosed BEGIN ...
>
>
> Which could be because you're doing something nasty with one of the
> "autocommit=off" clients.  Most of the client libraries implement
> this by doing "commit;begin;" at every commit.  This means you have
> way more idle in transaction connections than you think.  Look in
> pg_stat_activity, assuming you've turned on query echoing.

Or is enough do a ps -eafwww | grep post
to see the state of the connections


Regards
Gaetano Mendola


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

Предыдущее
От: Shridhar Daithankar
Дата:
Сообщение: Re: Performance weirdness with/without vacuum analyze
Следующее
От: Harry Broomhall
Дата:
Сообщение: Re: Performance weirdness with/without vacuum analyze