Re: pg_xlog becomes extremely large during CREATE INDEX - Mailing list pgsql-general

From Jeffrey W. Baker
Subject Re: pg_xlog becomes extremely large during CREATE INDEX
Date
Msg-id 1084466504.18162.28.camel@noodles
Whole thread Raw
In response to Re: pg_xlog becomes extremely large during CREATE INDEX  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Thu, 2004-05-13 at 09:28, Tom Lane wrote:
> "Jeffrey W. Baker" <jwbaker@acm.org> writes:
> > Sorry, my last mail got cut off.  The server aborted because it couldn't
> > write the xlog.  Looks like I omitted this from my last mail:
>
> Selective quoting of the log output?  Naughty naughty.
>
> However, that still doesn't explain how you got into the current state.
> Had you once had checkpoint_segments set much higher than the current
> value of 24?  On looking at the code I see that it doesn't make any
> attempt to prune future log segments after a decrease in
> checkpoint_segments, so if a previous misconfiguration had allowed the
> number of future segments to get really large, that could be the root of
> the issue.

The database where this happened was freshly initialized and this was
one of its first operations.  I think I will write a small example
script so you can reproduce it locally.  Give me a few hours or so.

-jwb

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_xlog becomes extremely large during CREATE INDEX
Next
From: "Sally Sally"
Date:
Subject: DBI remote connection problem