From: | Greg Stark <greg(dot)stark(at)enterprisedb(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Sam Mason <sam(at)samason(dot)me(dot)uk>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: improving concurrent transactin commit rate |
Date: | 2009-03-25 02:21:25 |
Message-ID: | 8CB39400-4491-4353-903D-D20A215007EF@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Sorry for top-posting -- blame apple.
Isn't this just a good description of exactly how it works today?
--
Greg
On 24 Mar 2009, at 20:51, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Sam Mason <sam(at)samason(dot)me(dot)uk> writes:
>> The conceptual idea is to have at most one outstanding flush for the
>> log going through the filesystem at any one time.
>
> I think this is a variant of the "group commit" or "commit delay"
> stuff that's already in there (and doesn't work real well :-().
> The problem is to sync multiple transactions without a lot of extra
> overhead.
>
> Realize also that if the kernel's not completely brain dead, some
> of this happens already by virtue of the fact that everyone's
> fsync'ing the same WAL file.
>
> regards, tom lane
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Smith | 2009-03-25 03:23:36 | Re: improving concurrent transactin commit rate |
Previous Message | Josh Berkus | 2009-03-25 01:34:35 | Re: Function C and INOUT parameters |