Re: Help estimating database and WAL size

From: "Daniel Serodio (lists)" <daniel(dot)lists(at)mandic(dot)com(dot)br>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help estimating database and WAL size
Date: 2012-10-15 21:03:40
Message-ID: 507C7A2C.1020509@mandic.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John R Pierce wrote:
> On 10/08/12 1:39 PM, Daniel Serodio (lists) wrote:
>> 3) Estimate the size of the transaction log
>> ** We've got no idea how to estimate this, need advice **
>
> postgres doesn't have a 'transaction log', it has the WAL (Write-Ahead
> Logs). These are typically 16MB each. on databases with a really
> heavy write load, I might bump the checkpoint_segments as high as 60,
> which seems to result in about 120 of them being created, 2GB total.
> these files get reused, unless you are archiving them to implement a
> continuous realtime backup system (which enables "PITR", Point in Time
> Recovery)
Thanks, I was using the term "transaction log" as a synonym for WAL.
We're planning on enabling PITR; how can we calculate the WAL size and
the WAL archive size in this case?

Regards,
Daniel Serodio

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Serodio (lists) 2012-10-15 21:06:52 Re: Is pg_basebackup also for "regular" backups?
Previous Message Daniel Serodio (lists) 2012-10-15 20:59:51 Re: Help estimating database and WAL size