pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Claudio Freire <klaussfreire@gmail.com>
Cc: Peter Geoghegan <pg@heroku.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Tuplesort merge pre-reading
Date: Sat, 10 Sep 2016 10:04:02 +0300
Message-ID: <41adf9c3-0659-16e2-e06e-494826b0c969@iki.fi> (raw)
In-Reply-To: <CAGTBQpYyBLL07s8zyddo7DSDZfnV1-8huwNwZp7T-UGS58_-4Q@mail.gmail.com>
References: <f298f77a-cf06-e70c-d5a4-a20b472b4627@iki.fi>
	<CAM3SWZQ4yzxiytLyATuGjxOeowUOjGNmYh1-q5HFY2HEJzZ_VQ@mail.gmail.com>
	<CAM3SWZR3pArWugB9PGaYjiLDnHDUf+AyW1RCJwCFD-LnGCjtKg@mail.gmail.com>
	<95f5a75d-b6ad-f175-57f2-6e32f745e908@iki.fi>
	<2a1b4071-5f4f-4dce-e74b-1c5575c11608@iki.fi>
	<CAGTBQpZ2mcrRyi5FiifCdAFEnznWNLA8Dx-8H6prLw3sECSxMg@mail.gmail.com>
	<CAGTBQpYyBLL07s8zyddo7DSDZfnV1-8huwNwZp7T-UGS58_-4Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 09/10/2016 04:21 AM, Claudio Freire wrote:
> On Fri, Sep 9, 2016 at 9:51 PM, Claudio Freire <klaussfreire@gmail.com> wrote:
>> On Fri, Sep 9, 2016 at 8:13 AM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>>>
>>> Claudio, if you could also repeat the tests you ran on Peter's patch set on
>>> the other thread, with these patches, that'd be nice. These patches are
>>> effectively a replacement for
>>> 0002-Use-tuplesort-batch-memory-for-randomAccess-sorts.patch. And review
>>> would be much appreciated too, of course.
>>>
>>> Attached are new versions. Compared to last set, they contain a few comment
>>> fixes, and a change to the 2nd patch to not allocate tape buffers for tapes
>>> that were completely unused.
>>
>> Will do so

Thanks!

> It seems both 1 and 1+2 break make check.

Oh. Works for me. What's the failure you're getting?

> Did I misunderstand something? I'm applying the first patch of Peter's
> series (cap number of tapes), then your first one (remove prefetch)
> and second one (use larger read buffers).

Yes. I have been testing without Peter's first patch, with just the two 
patches I posted. But it should work together (and does, I just tested) 
with that one as well.

- Heikki



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (61+ messages)  latest in thread

Message-ID: <41adf9c3-0659-16e2-e06e-494826b0c969@iki.fi>
Permalink:  ../41adf9c3-0659-16e2-e06e-494826b0c969@iki.fi/
Also on:    postgresql.org/message-id/41adf9c3-0659-16e2-e06e-494826b0c969@iki.fi

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: hlinnaka@iki.fi, klaussfreire@gmail.com, pg@heroku.com
  Subject: Re: Tuplesort merge pre-reading
  In-Reply-To: <41adf9c3-0659-16e2-e06e-494826b0c969@iki.fi>
  References: <f298f77a-cf06-e70c-d5a4-a20b472b4627@iki.fi> <CAM3SWZQ4yzxiytLyATuGjxOeowUOjGNmYh1-q5HFY2HEJzZ_VQ@mail.gmail.com> <CAM3SWZR3pArWugB9PGaYjiLDnHDUf+AyW1RCJwCFD-LnGCjtKg@mail.gmail.com> <95f5a75d-b6ad-f175-57f2-6e32f745e908@iki.fi> <2a1b4071-5f4f-4dce-e74b-1c5575c11608@iki.fi> <CAGTBQpZ2mcrRyi5FiifCdAFEnznWNLA8Dx-8H6prLw3sECSxMg@mail.gmail.com> <CAGTBQpYyBLL07s8zyddo7DSDZfnV1-8huwNwZp7T-UGS58_-4Q@mail.gmail.com> <41adf9c3-0659-16e2-e06e-494826b0c969@iki.fi>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox