Re: New index structure with Open MP

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New index structure with Open MP
Дата
Msg-id 20319.1296423467@sss.pgh.pa.us
обсуждение исходный текст
Ответ на New index structure with Open MP  (Yves Weißig <weissig@rbg.informatik.tu-darmstadt.de>)
Ответы Re: New index structure with Open MP
Список pgsql-general
=?ISO-8859-15?Q?Yves_Wei=DFig?= <weissig@rbg.informatik.tu-darmstadt.de> writes:
> I am not aiming for full parallelization, only some
> parts of the algorithm regarding build, insert and search are going to
> be extended by Open MP. E.g. I want to parallelize searching in multiple
> pages by directing some portions to one thread and other portions to
> another thread. Do you think that this small amount of parallelization
> is possible? Or will there be complications with the used methods by the
> buffer manager and so on? What do you think? What are your thoughts?

The backend code is not designed for thread safety.  This is not a case
where "only a little bit" of parallelism is going to be safe.  It *will*
break.

            regards, tom lane

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

Предыдущее
От: Yves Weißig
Дата:
Сообщение: New index structure with Open MP
Следующее
От: Jerry LeVan
Дата:
Сообщение: Re: iPad and Pg revisited...