Re: WAL oddities (8.0.3) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WAL oddities (8.0.3)
Date
Msg-id 21640.1120165582@sss.pgh.pa.us
Whole thread Raw
In response to WAL oddities (8.0.3)  (Rod Taylor <pg@rbt.ca>)
Responses Re: WAL oddities (8.0.3)
List pgsql-hackers
Rod Taylor <pg@rbt.ca> writes:
> First, are WAL files not allowed to end in FF?

I recall that there's some wastage of addressing space, but I don't
recall the exact reasoning.  You can probably find a comment about it
in xlog.c or nearby.

> However, now I'm left with a pg_xlog directory that is about 7 GB in
> size. All of the files but the most recent has a corresponding
> archive_status/$FILE.done file. Will PostgreSQL eventually remove most
> of these unnecessary files or am I stuck with them?

I'd have thought the next checkpoint would zap 'em.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Checkpoint cost, looks like it is WAL/CRC
Next
From: Dawid Kuroczko
Date:
Subject: Re: [PATCHES] Dbsize backend integration