Re: [psycopg] speed concerns with executemany()

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: [psycopg] speed concerns with executemany()
Дата
Msg-id 12999244-2CDE-402C-BE3F-26C1426446E8@thebuild.com
обсуждение исходный текст
Ответ на Re: [psycopg] speed concerns with executemany()  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Ответы Re: [psycopg] speed concerns with executemany()  (mike bayer <mike_mp@zzzcomputing.com>)
Список psycopg
> On Dec 30, 2016, at 14:24, Daniele Varrazzo <daniele.varrazzo@gmail.com> wrote:
>
> The implementation of executemany as described by me a few days ago is
> available in this gist, not heavily tested:
>
> https://gist.github.com/dvarrazzo/4204cca5d1cd7c9c95bc814d81e6b83e
>
> I would like to know if anyone sees any shortcoming in this new implementation.

Seems fine to me!  I wish there was a way of feeding the queries down the pipe asynchronously, rather than having to
builda gigantic string, but that's probably more trouble than the feature is worth. 

--
-- Christophe Pettus
   xof@thebuild.com



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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: [psycopg] speed concerns with executemany()
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: [psycopg] speed concerns with executemany()