Re: Synchronous Commit Doc Patch

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Synchronous Commit Doc Patch
Date: 2007-07-13 19:12:29
Message-ID: 1184353949.4512.294.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Fri, 2007-07-13 at 14:00 -0500, Jim C. Nasby wrote:
> On Fri, Jul 13, 2007 at 07:11:54PM +0100, Simon Riggs wrote:
> > On Fri, 2007-07-13 at 12:38 -0500, Jim C. Nasby wrote:
> > > One question... can operations that shortcut the WAL by fsyncing direct
> > > to disk also use async commit? I suspect the answer is an implicit "no"
> > > because the only examples I can think of all involve DDL, but it's
> > > probably worth spelling that out...
> >
> > They can, but the WAL-avoiding ops are all designed for bulk ops, so
> > you'll get something like 0.0001% benefit by using async commit for
> > them.
>
> Yeah, I knew it wouldn't help much, I just wasn't clear on what the
> effect would be. I guess I'm also a bit confused... the only shortcut I
> know of (COPY into a table created in the same transaction) involves
> creating files, so it would be ineligible for async commit, or are there
> other shortcuts? Do we list the shortcuts anywhere in the docs?

Wrote that too...
http://developer.postgresql.org/pgdocs/postgres/performance-tips.html

> > Thanks for reading.
>
> Thanks for writing. :)
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2007-07-13 20:26:57 Re: Transaction Guarantee, updated version
Previous Message Jim C. Nasby 2007-07-13 19:00:40 Re: Synchronous Commit Doc Patch