Re: about pgsql odbc insertion efficiency is very low

Поиск
Список
Период
Сортировка
От Clemens Ladisch
Тема Re: about pgsql odbc insertion efficiency is very low
Дата
Msg-id d0f06d2d-d80b-e561-49d9-b1206b44c084@ladisch.de
обсуждение исходный текст
Ответ на about pgsql odbc insertion efficiency is very low  ("HIT . man" <1141852259@qq.com>)
Список pgsql-odbc
HIT . man wrote:
> When I use remote PostgreSQL ODBC to insert 10 million pieces of data from the client to the server, the speed is 130
minutes.

Are you using a prepared statement?
How large are your transactions?

The fastest way to bulk load data is with COPY, which is not supported in ODBC.
To avoid network round trips, you could submit multi-row INSERT commands.


Regards,
Clemens



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

Предыдущее
От: "HIT . man"
Дата:
Сообщение: about pgsql odbc insertion efficiency is very low
Следующее
От: Christoph Berg
Дата:
Сообщение: Re: Regression tests fail with PG12