Re: libpq pipelineing

Поиск
Список
Период
Сортировка
От Samuel Williams
Тема Re: libpq pipelineing
Дата
Msg-id CAHkN8V-hVUESfNOgkT8WCcJfn_Ce-imasiAcVs0uePVkK=RMNw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: libpq pipelineing  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: libpq pipelineing  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
> What about, as it says, sending multiple statements in a single sendQuery and then polling for multiple results?

I tried this, and even in single row streaming mode, I found that
there are cases where the results would not be streamed until all the
queries were sent.

From the users point of view, they may generate a loop sending
multiple queries and don't care about the result, so a pipeline/batch
processing is ideal to avoid RTT per loop iteration, if database
access is slow, this can be a significant source of latency.

Kind regards,
Samuel



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: libpq pipelineing
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: libpq pipelineing