Re: Re: Idea: recycle WAL segments, don't delete/recreate 'em

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: fche(at)redhat(dot)com (Frank Ch(dot) Eigler)
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: Idea: recycle WAL segments, don't delete/recreate 'em
Date: 2001-07-17 20:36:45
Message-ID: 26366.995402205@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

fche(at)redhat(dot)com (Frank Ch. Eigler) writes:
> Could you explain how postgresql can "fall victim" the filesystem hole
> mechanism? Just hoping to force actual storage allocation, or hoping
> to discourage fragmentation?

The former. We'd prefer not to get an unexpected "disk full" failure
while writing to a log file we thought was good.

To the extent that prewriting the WAL segment discourages fragmentation,
that's good too, but it's just a side benefit.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2001-07-17 20:36:56 Re: Re: Idea: recycle WAL segments, don't delete/recreate 'emm
Previous Message Tom Lane 2001-07-17 20:34:29 Re: psql -l