Re: Parallel tuplesort (for parallel B-Tree index creation)

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Subject: Re: Parallel tuplesort (for parallel B-Tree index creation)
Date: 2017-11-03 01:39:49
Message-ID: CAEepm=3zu7=+J6rih0-xbHT2t2CuZFBw=jHT8o4N-kuo46L5Wg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 3, 2017 at 2:24 PM, Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> wrote:
>> That way you don't have to opt in to BufFile's
>> double buffering and segmentation schemes just to get shared file
>> clean-up, if for some reason you want direct file handles.
>
> Is that something that you really think is possible?

It's pretty far fetched, but maybe shared temporary relation files
accessed via smgr.c/md.c? Or maybe future things that don't want to
read/write through a buffer but instead want to mmap it.

--
Thomas Munro
http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2017-11-03 02:07:17 Skip unneeded temp file in 'make html'
Previous Message Peter Geoghegan 2017-11-03 01:24:43 Re: Parallel tuplesort (for parallel B-Tree index creation)