Re: Trying to create multi db query in one large querie

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Trying to create multi db query in one large querie
Дата
Msg-id 41BE8F59.9040707@joeconway.com
обсуждение исходный текст
Ответ на Re: Trying to create multi db query in one large querie  ("Spiegelberg, Greg" <gspiegelberg@cranel.com>)
Список pgsql-performance
Spiegelberg, Greg wrote:
>
> My experience with dblink() is that each dblink() is executed serially

Correct.

If you really want to do multiple queries simultaneously, you would need
to write a function very similar to dblink_record, but using asynchonous
libpq calls to both remote hosts. See:
   http://www.postgresql.org/docs/current/static/libpq-async.html

HTH,

Joe

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

Предыдущее
От: "Spiegelberg, Greg"
Дата:
Сообщение: Re: Trying to create multi db query in one large querie
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Trying to create multi db query in one large queries