From: Simon Riggs <simon@2ndquadrant.com>
To: Jeremy Haile <jhaile@fastmail.fm>
Cc: pgsql-performance@postgresql.org
Subject: Re: URGENT: Out of disk space pg_xlog
Date: Fri, 22 Dec 2006 17:02:43 +0000
Message-ID: <1166806963.3783.203.camel@silverbirch.site> (raw)
In-Reply-To: <1166806378.10592.281708161@webmail.messagingengine.com>
References: <1166803606.2828.281701761@webmail.messagingengine.com>
<1166806378.10592.281708161@webmail.messagingengine.com>
On Fri, 2006-12-22 at 11:52 -0500, Jeremy Haile wrote:
> I would still appreciate ... explaining how to estimate size for a
> pg_xlog partition. It seems like it can vary considerably depending on
> how intensive your current transactions are. Is there a way to
> determine a maximum?
There should be at most 2*checkpoint_segments+1 files in pg_xlog, which
are 16MB each. So you shouldn't be having a problem.
If there are more than this, it could be because you have
currently/previously had archive_command set and the archive command
failed to execute correctly, or the database was shutdown/crashed prior
to the archive commands being executed.
IIRC there was a bug that allowed this to happen, but that was some time
ago.
Perhaps you could show us the dir listing, so we can check that there is
not a new problem emerging? Can you also show us the contents of the
pg_xlog/archive_status directory? Thanks.
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: simon@2ndquadrant.com, jhaile@fastmail.fm
Subject: Re: URGENT: Out of disk space pg_xlog
In-Reply-To: <1166806963.3783.203.camel@silverbirch.site>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox