| From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
|---|---|
| To: | Filip Rembiałkowski <filip(dot)rembialkowski(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Why so many xlogs? |
| Date: | 2010-11-01 18:27:48 |
| Message-ID: | 20101101182748.GB6437@depesz.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Mon, Nov 01, 2010 at 07:18:22PM +0100, Filip Rembiałkowski wrote:
> 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.
you will notice in the logs that the system doesn't look like very
loaded.
i mean - there is fair amount of work, but nothing even resembling
"overloaded".
Best regards,
depesz
--
Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/
jid/gtalk: depesz(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kevin Field | 2010-11-01 18:28:01 | can select contents of view but not view itself, despite indirect membership |
| Previous Message | hubert depesz lubaczewski | 2010-11-01 18:27:14 | Re: Why so many xlogs? |