Re: Parallell Optimizer

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: Parallell Optimizer
Дата
Msg-id
CA+Tgmobj_Su_si8aReftVnPvxZcLy9wxRU0-ECpx-PDp4i6VKQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Parallell Optimizer "Fred&Dani&Pandora&Aquiles" <fred@nti.ufop.br>
Re: Parallell Optimizer Tom Lane <tgl@sss.pgh.pa.us>
Re: Parallell Optimizer Robert Haas <robertmhaas@gmail.com>
Re: Parallell Optimizer Tom Lane <tgl@sss.pgh.pa.us>
Re: Parallell Optimizer Jim Nasby <jim@nasby.net>
Re: Parallell Optimizer Robert Haas <robertmhaas@gmail.com>
Re: Parallell Optimizer Simon Riggs <simon@2ndQuadrant.com>
Re: Parallell Optimizer Michael Paquier <michael.paquier@gmail.com>
Re: Parallell Optimizer Tatsuo Ishii <ishii@postgresql.org>
Re: Parallell Optimizer Simon Riggs <simon@2ndQuadrant.com>
Re: Parallell Optimizer Tatsuo Ishii <ishii@postgresql.org>
Re: Parallell Optimizer Hannu Krosing <hannu@2ndQuadrant.com>
Re: Parallell Optimizer Tatsuo Ishii <ishii@postgresql.org>
Re: Parallell Optimizer Hannu Krosing <hannu@2ndQuadrant.com>
Re: Parallell Optimizer Tatsuo Ishii <ishii@postgresql.org>
Re: Parallell Optimizer Craig Ringer <craig@2ndquadrant.com>
Re: Parallell Optimizer Ants Aasma <ants@cybertec.at>
Re: Parallell Optimizer Tatsuo Ishii <ishii@postgresql.org>
Re: Parallell Optimizer Hannu Krosing <hannu@2ndQuadrant.com>
Re: Parallell Optimizer Ants Aasma <ants@cybertec.at>
Re: Parallell Optimizer Ants Aasma <ants@cybertec.at>
Re: Parallell Optimizer Tatsuo Ishii <ishii@postgresql.org>
Re: Parallell Optimizer Stephen Frost <sfrost@snowman.net>
Re: Parallell Optimizer Ants Aasma <ants.aasma@eesti.ee>
Re: Parallell Optimizer Stephen Frost <sfrost@snowman.net>
Re: Parallell Optimizer Simon Riggs <simon@2ndQuadrant.com>
Re: Parallell Optimizer Ants Aasma <ants@cybertec.at>
Re: Parallell Optimizer Michael Paquier <michael.paquier@gmail.com>
Re: Parallell Optimizer Tatsuo Ishii <ishii@postgresql.org>
Re: Parallell Optimizer Simon Riggs <simon@2ndQuadrant.com>
Re: Parallell Optimizer "Fred&Dani&Pandora&Aquiles" <fred@nti.ufop.br>
Re: Parallell Optimizer Hannu Krosing <hannu@2ndQuadrant.com>
Re: Parallell Optimizer Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Parallell Optimizer Yeb Havinga <yebhavinga@gmail.com>
On Fri, Jun 7, 2013 at 2:27 PM, Tom Lane  wrote:
> "Fred&Dani&Pandora&Aquiles"  writes:
>> I asked a while ago in this group about the possibility to implement a
>> parallel planner in a multithread way, and  the replies were that the
>> proposed approach couldn't be implemented, because the postgres is not
>> thread-safe. With the new feature Background Worker Processes, such
>> implementation would be possible?
>
> I don't think that bgworkers as currently implemented make this any more
> practical than it was before.  The communication overhead with a
> separate process would swamp any benefit in most cases.

I agree this can't be done yet, but I don't agree with that reasoning.I would articulate it this way: we don't have parallel execution,
therefore how could we meaningfully do parallel optimization?

I'm baffled by your statement that the communication overhead would be
too high.  What IPC mechanism are you presuming, and why would it be
any more expensive in PostgreSQL than in any other database (a number
of which do have parallel query execution)?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Simon Riggs
Дата:
Сообщение: Re: Freezing without write I/O
FAQ