Re: parallelizing subplan execution (was: explain and PARAM_EXEC)

Поиск
Список
Период
Сортировка
От Mark Wong
Тема Re: parallelizing subplan execution (was: explain and PARAM_EXEC)
Дата
Msg-id AANLkTimj1c_8djn8VWzqgNPap9rT4LfOwl3TFIJSkEnH@mail.gmail.com
обсуждение исходный текст
Ответ на Re: parallelizing subplan execution (was: explain and PARAM_EXEC)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sat, Jun 26, 2010 at 6:01 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Fri, Jun 25, 2010 at 10:47 PM, Mark Wong <markwkm@gmail.com> wrote:
>> http://pages.cs.wisc.edu/~dewitt/includes/publications.html
>>
>> Some of these papers aren't the type of parallelism we're talking
>> about here, but the ones that I think are relevant talk mostly about
>> parallelizing hash based joins.  I think we might be lacking an
>> operator or two though in order to do some of these things.
>
> This part (from the first paper linked on that page) is not terribly
> encouraging.
>
> "Current database query optimizers do not consider all possible plans
> when optimizing a relational query. While cost models for relational
> queries running on a single processor are now well-understood
> [SELI79], they still depend on cost estimators that are a guess at
> best. Some dynamically select from among several plans at run time
> depending on, for example, the amount of physical memory actually
> available and the cardinalities of the intermediate results [GRAE89].
> To date, no query optimizers consider all the parallel algorithms for
> each operator and all the query tree organizations. More work is
> needed in this area."
>
> The section (from that same paper) on parallelizing hash joins and
> merge-join-over-sort is interesting, and I can definitely imagine
> those techniques being a win for us.  But I'm not too sure how we'd
> know when to apply them - that is, what algorithm would the query
> optimizer use?  I'm sure we could come up with something, but I'd get
> a warmer, fuzzier feeling if we could implement the fruits of someone
> else's research rather than rolling our own.

I found another starting point for more papers here:

http://infolab.stanford.edu/joker/joqrs.html

The links on this page don't work anymore but many of these are easily
found by searching for the title.  I've only gone through some
abstracts so far, but it seems to me that they discuss some query
optimization techniques for parallel systems.

Regards,
Mark


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby
Следующее
От: Pavel Golub
Дата:
Сообщение: Re: Keepalives win32