Re: Ever increasing pg_clog disk usage v8.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Ever increasing pg_clog disk usage v8.4
Дата
Msg-id 7814.1417445220@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Ever increasing pg_clog disk usage v8.4  (Eduardo Morras <emorrasg@yahoo.es>)
Список pgsql-general
Eduardo Morras <emorrasg@yahoo.es> writes:
> "Powrie, William" <wpowrie@indracompany.com> wrote:
>> The files in pg_clog increase on a day to day basis until the ramdisk
>> reaches 100% utilization. This takes roughly 30 days to occur and
>> postgresql fails at this point.

> pg_clog stores information about current commit status for open/active transactions. Do you close all transactions
afterthey're work is done? Do you have any in "IDLE in transaction" state? 

Leaving prepared transactions sitting (without committing them or
rolling them back) could do this as well, I believe.

8.4 seems to default to max_prepared_transactions = 0 so it would
take some extra work to shoot yourself in the foot that way, but
it's definitely possible.

            regards, tom lane


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

Предыдущее
От: Reid Thompson
Дата:
Сообщение: Re: Re: Remote PostgreSQL database - C/C++ program / Unix / Required Libraries
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Ever increasing pg_clog disk usage v8.4