SQLSTATE 53100 could not extend file / disk full
SQLSTATE 53100 could not extend file / disk full
От:
"Jan-Peter Seifert" <Jan-Peter.Seifert@gmx.de>
Дата:
Hello, I wonder whether extra measures are necessary to recover from a disk full error besides freeing enough disk space? It seems that there are enough security measures: http://archives.postgresql.org/message-id/CAHHcrepQNCN3HoXSWAOtsj3HJKp5NoepB2ky3dFgVA4JCXh-Qw@mail.gmail.com Is it no problem if the WAL is within the same disk space and can't be written as well? I didn't see anything in the FAQ: http://wiki.postgresql.org/wiki/FAQ Should you free enough disk space, do a checkpoint, restart the server and check the server log? Thank you very much, Peter -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Re: SQLSTATE 53100 could not extend file / disk full
От:
"Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Дата:
"Jan-Peter Seifert" 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. -Kevin