Re: Support Parallel Query Execution in Executor

Поиск
Список
Период
Сортировка
Искать
От
Markus Schiltknecht
Тема
Re: Support Parallel Query Execution in Executor
Дата
Msg-id
1144665581.32238.21.camel@fotomarburg
Ответ на
Список
Дерево обсуждения
Re: Support Parallel Query Execution in Executor "Qingqing Zhou" <zhouqq@cs.toronto.edu>
Re: Support Parallel Query Execution in Executor Markus Schiltknecht <markus@bluegap.ch>
Re: Support Parallel Query Execution in Executor Alvaro Herrera <alvherre@commandprompt.com>
Re: Support Parallel Query Execution in Executor Markus Schiltknecht <markus@bluegap.ch>
Re: Support Parallel Query Execution in Executor "Jim C. Nasby" <jnasby@pervasive.com>
Re: Support Parallel Query Execution in Executor Greg Stark <gsstark@mit.edu>
Re: Support Parallel Query Execution in Executor Alvaro Herrera <alvherre@commandprompt.com>
Re: Support Parallel Query Execution in Executor Greg Stark <gsstark@mit.edu>
Re: Support Parallel Query Execution in Executor Alvaro Herrera <alvherre@commandprompt.com>
Re: Support Parallel Query Execution in Executor "Jim C. Nasby" <jnasby@pervasive.com>
Hi Qingqing,

On Mon, 2006-04-10 at 16:38 +0800, Qingqing Zhou wrote:
> > Why not? What would be needed to retarget a backend to operate in
> > another database?
>
> As Tom pointed out, without big change, a backend on database "D1" can't
> connect to "D2". This is because to connect to a database, we need to
> initialize a lot of variables. So when you reconnect to another one on the
> fly, you have to change these variables one by one.

Sure, the question is: what is needed to retarget a backend?

IMHO, in all of the three examples mentioned up-thread, it would be
better to retarget an existing backend, instead of forking a new one,
because that would perform better and/or save some resources.

Please do also consider, that for parallel query execution as well as
for replaying remote transactions access rights checking and any client
connection setup could be omitted. Such special processing backeds could
easily be run with superuser privileges and without a client connection.

Regards

Markus



В списке pgsql-hackers по дате отправления
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Updating OID column
От: Martijn van Oosterhout
Дата:
FAQ