Re: Acclerating INSERT/UPDATE using UPS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Acclerating INSERT/UPDATE using UPS
Date
Msg-id 24176.1172531493@sss.pgh.pa.us
Whole thread Raw
In response to Re: Acclerating INSERT/UPDATE using UPS  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> Reading through the design, I see the following

> - bgwriter performs XLogWrite, not each backend
> - WAL fsync is only performed when WAL file fills
> - no checkpoints are performed until shutdown

> Not checkpointing at all is not a good plan, since this will lead to an
> enormous build up of WAL files and a very long recovery time if the
> system does fail.

Indeed, that seems utterly unacceptable; moreover it's hard to see how
you get a noticeable performance win, compared to a sane checkpoint
interval of some-fraction-of-an-hour.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: Bitmap index stuff
Next
From: Alvaro Herrera
Date:
Subject: Re: autovacuum next steps, take 2