Re: Postgres run out of disk space

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Wenzhe Zhou <wzhou(at)cisco(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres run out of disk space
Date: 2002-12-31 06:49:36
Message-ID: 28135.1041317376@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Wenzhe Zhou <wzhou(at)cisco(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Garo Hussenjian 2002-12-31 07:20:24 Re: Dump / restore question
Previous Message Garo Hussenjian 2002-12-31 06:48:51 Re: Dump / restore question