Re: Why so many xlogs? - Mailing list pgsql-general

From Cédric Villemain
Subject Re: Why so many xlogs?
Date
Msg-id AANLkTi=VbN-TaL+O0EdpxhoMcV_CR9wz-b4T90BntJ8j@mail.gmail.com
Whole thread Raw
In response to Re: Why so many xlogs?  (hubert depesz lubaczewski <depesz@depesz.com>)
Responses Re: Why so many xlogs?  (hubert depesz lubaczewski <depesz@depesz.com>)
List pgsql-general
2010/11/1 hubert depesz lubaczewski <depesz@depesz.com>:
> On Mon, Nov 01, 2010 at 07:22:50PM +0100, Cédric Villemain wrote:
>> > as I understand, max number of xlog files in pg_xlog should be ( 1 + 2 *
>> > checkpoint_segments ).
>> (2 + checkpoint_completion_target) * checkpoint_segments + 1
>> => 291
>
> this is formula gave to me by rhodiumtoad on irc, but we tested with lower
> checkpoint_completion_target and it didn't change *anything*.

You'll have between 211 and 291 files for 0.1 to 0.9
checkpoint_completion_target.
You'd have more than the number of files given by formula used during
your tests ?

>
> Best regards,
>
> depesz
>
> --
> Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
> jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
>



--
Cédric Villemain               2ndQuadrant
http://2ndQuadrant.fr/     PostgreSQL : Expertise, Formation et Support

pgsql-general by date:

Previous
From: Andy Colson
Date:
Subject: Re: JDBC Transactions
Next
From: Cédric Villemain
Date:
Subject: Re: Why so many xlogs?