From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
Cc: | PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: PATCH: pgbench - merging transaction logs |
Date: | 2015-03-23 19:11:10 |
Message-ID: | 56DC0C49-7E56-4A43-8230-6D62C6C74D91@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On March 23, 2015 8:00:04 PM GMT+01:00, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
>
>> Guys, I don't see this theoretical discussion going anywhere. I think
>> it's time to simply implement this and evaluate it on a bigger
>> machine.
>
>Sure. I was kind of hoping that someone else would implement it,
>because
>I'm a reviewer on this one, and I do not have the bigger machine at
>hand
>either:-) If nothing happens and when I have some time, I'll do it.
It wasn't specifically aimed at you...
>> It can't take very long to implement tosimply just write to one
>> file instead of the multiple files as now.
>
>Sure.
>
>> The posix guaranteed fprintf locking should already take care of the
>> rest.
>
>I think I would try with snprintf to reduce locking.
Glibc's locking is around the streambuffer IIRC. So that's not likely to do much...
--
Please excuse brevity and formatting - I am writing this on my mobile phone.
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2015-03-23 19:20:35 | Re: Abbreviated keys for Numeric |
Previous Message | Peter Geoghegan | 2015-03-23 19:07:21 | Re: Abbreviated keys for Numeric |