Re: Postgres run out of disk space - Mailing list pgsql-general

From Tom Lane
Subject Re: Postgres run out of disk space
Date
Msg-id 28135.1041317376@sss.pgh.pa.us
Whole thread Raw
In response to Postgres run out of disk space  (Wenzhe Zhou <wzhou@cisco.com>)
List 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 by date:

Previous
From: Garo Hussenjian
Date:
Subject: Re: Dump / restore question
Next
From: Garo Hussenjian
Date:
Subject: Re: Dump / restore question