| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера