Re: pg_dump and transactions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump and transactions
Дата
Msg-id 27964.1016729023@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump and transactions  (Ferdinand Smit <ferdinand@telegraafnet.nl>)
Список pgsql-patches
Ferdinand Smit <ferdinand@telegraafnet.nl> writes:
> We have lots of trouble with using the COPY dump, so we always use de INSERT
> mode. Because the INSERT mode does'nt use transactions, this methode is very
> slow.

What would really be appreciated is some investigation into why the COPY
mode doesn't work for you.  I prefer to fix problems rather than work
around them.

> This (simple) patch creates (if the -T flag is set) a transaction of every
> insert block, so de import is mostly 10 times faster.

... kinda seems like a kluge ...

            regards, tom lane

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

Предыдущее
От: Fernando Nasser
Дата:
Сообщение: Re: Domain Support -- another round
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: pg_dump and transactions