Re: Why so many xlogs?

From: Filip Rembiałkowski <filip(dot)rembialkowski(at)gmail(dot)com>
To: depesz(at)depesz(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Why so many xlogs?
Date: 2010-11-01 18:18:22
Message-ID: AANLkTi=X2aSfO2sfaEtORRtUZ+TwOfX+h2hSqCwUt4Nr@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/11/1 hubert depesz lubaczewski <depesz(at)depesz(dot)com>:

> as I understand, max number of xlog files in pg_xlog should be ( 1 + 2 *
> checkpoint_segments ).

why?

for a server overloaded with R/W transactions, it's possible to go beyond this.
checkpoints just do not keep up.
right now I have an 8.3 with checkpoint_segments=3, constantly running
pgbench and I see 8 WAL segments.

cheers
Filip

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Mennens 2010-11-01 18:20:41 Re: 8.4 Data Not Compatible with 9.0.1 Upgrade?
Previous Message Vick Khera 2010-11-01 18:16:39 Re: max_fsm_pages increase