Re: Creating a DSA area to provide work space for parallel execution

Поиск
Список
Период
Сортировка
Искать
От
Thomas Munro
Тема
Re: Creating a DSA area to provide work space for parallel execution
Дата
Msg-id
CAEepm=1-okw2y95=vxpkJEkLWEJwfM+BEG7m9hgtZkM802aVZg@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Creating a DSA area to provide work space for parallel execution Thomas Munro <thomas.munro@enterprisedb.com>
Re: Creating a DSA area to provide work space for parallel execution Thomas Munro <thomas.munro@enterprisedb.com>
Re: Creating a DSA area to provide work space for parallel execution Dilip Kumar <dilipbalaut@gmail.com>
Re: Creating a DSA area to provide work space for parallel execution Dilip Kumar <dilipbalaut@gmail.com>
Re: Creating a DSA area to provide work space for parallel execution Thomas Munro <thomas.munro@enterprisedb.com>
Re: Creating a DSA area to provide work space for parallel execution Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallelexecution Andres Freund <andres@anarazel.de>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallelexecution Andres Freund <andres@anarazel.de>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallelexecution Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallelexecution Andres Freund <andres@anarazel.de>
Re: [HACKERS] Creating a DSA area to provide work space for parallelexecution Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Creating a DSA area to provide work space for parallel execution Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Creating a DSA area to provide work space forparallel execution Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Creating a DSA area to provide work space for parallel execution Haribabu Kommi <kommi.haribabu@gmail.com>
On Wed, Oct 5, 2016 at 10:32 AM, Thomas Munro
 wrote:
> One obvious problem is that this patch results in at least *two* DSM
> segments being created for every parallel query execution: the main
> segment used for parallel execution, and then the initial segment
> managed by the DSA area.  One thought is that DSA areas are the more
> general mechanism, so perhaps we should figure out how to store
> contents of the existing segment in it.  The TOC interface would need
> a few tweaks to be able to live in memory allocated with dsa_allocate,
> and they we'd need to share that address with other backends so that
> they could find it (cf the current approach of finding the TOC at the
> start of the segment).  I haven't prototyped that yet.  That'd involve
> changing the wording "InitializeDSM" that appears in various places
> including the FDW API, which has been putting me off...

... or we could allow DSA areas to be constructed inside existing
shmem, as in the attached patch which requires dsa_create_in_place,
from the patch at
https://www.postgresql.org/message-id/CAEepm%3D0-pbokaQdCXhtYn%3Dw64MmdJz4hYW7qcSU235ar276x7w%40mail.gmail.com
.

-- 
Thomas Munro
http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления
От: Thomas Munro
Дата:
От: Daniel Verite
Дата:
FAQ