Re: Postgres run out of disk space

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres run out of disk space
Дата
Msg-id 28135.1041317376@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgres run out of disk space  (Wenzhe Zhou <wzhou@cisco.com>)
Список pgsql-general
Wenzhe Zhou <wzhou@cisco.com> writes:
> Accoring to the debug log (postmaster.log), there are only read
> operations (select query) in one hour and twenty minutes. While in
> that period of time, I saw log messages like "DEBUG: recycled
> transaction log file xxxxxx" in every one minute and used disk space
> increase 105 MB. It looks like the server is busy to write to DB, and
> transaction log files are recycled in every one minutes. How could
> this happen?

AFAIK, a purely read-only stream of transactions will consume negligible
WAL space (a few bytes for every clog page == 32K transactions is the
largest drain I can think of).  I think you are missing some writing
transactions somewhere.

            regards, tom lane

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

Предыдущее
От: Garo Hussenjian
Дата:
Сообщение: Re: Dump / restore question
Следующее
От: Garo Hussenjian
Дата:
Сообщение: Re: Dump / restore question