Re: WAL file size vs. data file size - Mailing list pgsql-general

From Tom Lane
Subject Re: WAL file size vs. data file size
Date
Msg-id 28375.1319726674@sss.pgh.pa.us
Whole thread Raw
In response to WAL file size vs. data file size  (Ben Chobot <bench@silentmedia.com>)
Responses Re: WAL file size vs. data file size  (Ben Chobot <bench@silentmedia.com>)
List pgsql-general
Ben Chobot <bench@silentmedia.com> writes:
> Today I tried to restore a 70GB database with the standard "pg_dump -h old_server <�> | psql -h new_server <�>"
method.I had 100GB set aside for WAL files, which I figured surely would be enough, because all of the data, including
indices,is only 70GB. So I was a bit surprised when the restore hung mis-way because my pg_xlogs directory ran out of
space. 

> Is it expected that WAL files are less dense than data files?

Yes, that's not particularly surprising ... but how come they weren't
getting recycled?  Perhaps you had configured WAL archiving but it was
broken?

            regards, tom lane

pgsql-general by date:

Previous
From: rihad
Date:
Subject: Are pg_xlog/* fiels necessary for PITR?
Next
From: Ben Chobot
Date:
Subject: Re: WAL file size vs. data file size