Best way to import data in postgresl (not "COPY")

Поиск
Список
Период
Сортировка
Hello,

I have a system that must each day import lots of data from another one.
Our system is in postgresql and we connect to the other via ODBC.

Currently we do something like :

SELECT ... FROM ODBC source
foreach row {
INSERT INTO postgresql
}

The problem is that this method is very slow...

Does someone has a better suggestion ?

Thanks a lot in advance !

Denis

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: psql \du [PATCH] extended \du with [+] - was missing
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Can LIKE under utf8 use INDEXes?