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

Re: SQLSTATE 53100 could not extend file / disk full

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Jan-Peter Seifert" <Jan-Peter(dot)Seifert(at)gmx(dot)de>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: SQLSTATE 53100 could not extend file / disk full
Date: 2012-05-07 17:09:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
"Jan-Peter Seifert" <Jan-Peter(dot)Seifert(at)gmx(dot)de> wrote:
> I wonder whether extra measures are necessary to recover from a
> disk full error besides freeing enough disk space?
> Is it no problem if the WAL is within the same disk space and
> can't be written as well?
> Should you free enough disk space, do a checkpoint, restart the
> server and check the server log?
At our shop, we have rarely run out of disk space on a production
machine, due to close monitoring; but in those few cases, and in the
somewhat more frequent case that it happened in a development
environment, we have simply freed space and continued.  From what I
have seen, the PostgreSQL development community tries very hard to
ensure that you can do this safely.  On the other hand, it would
obviously be very hard to thoroughly test every possible code path
under such conditions, so I always try to watch for possible
problems afterward.

In response to

pgsql-admin by date

Next:From: Thomas MarkusDate: 2012-05-08 06:24:41
Subject: Re: Very long "<IDLE> in transaction" query
Previous:From: Jan-Peter SeifertDate: 2012-05-07 12:03:30
Subject: SQLSTATE 53100 could not extend file / disk full

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