Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group