Re: Decreasing WAL size effects

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Jason Long <mailing(dot)list(at)supernovasoftware(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Decreasing WAL size effects
Date: 2008-10-29 06:13:20
Message-ID: 4907FF00.4040008@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Jason Long wrote:
> I am planning on setting up PITR for my application.

> I also have to ship them off site using a T1 so setting the time to
> automatically switch files will just waste bandwidth if they are still
> going to be 16 MB anyway.
>
> *1. What is the effect of recompiling and reducing the default size of
> the WAL files?

Increased I/O

> 2. What is the minimum suggested size?

16 megs, the default.

> 3. If I reduce the size how will this work if I try to save a document
> that is larger than the WAL size?

You will create more segments.

Joshua D. Drake

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ravi Chemudugunta 2008-10-29 06:48:50 using plpgsql debuggers
Previous Message hubert depesz lubaczewski 2008-10-29 05:46:36 Re: Problem with sql

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2008-10-29 07:54:12 Re: PostgreSQL + Replicator developer meeting 10/28
Previous Message Zdenek Kotala 2008-10-29 05:58:23 Re: Any reason to have heap_(de)formtuple?