Re: COPY Performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY Performance
Дата
Msg-id 12739.1209944461@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY Performance  ("Hans Zaunere" <lists@zaunere.com>)
Ответы Re: COPY Performance
Список pgsql-general
"Hans Zaunere" <lists@zaunere.com> writes:
> We're using a statement like this to dump between 500K and >5 million rows.

> COPY(SELECT SomeID FROM SomeTable WHERE SomeColumn > '0')
>   TO '/dev/shm/SomeFile.csv'

> Upon first run, this operation can take several minutes.  Upon second run,
> it will be complete in generally well under a minute.

Hmmm ... define "first" versus "second".  What do you do to return it to
the slow state?

            regards, tom lane

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

Предыдущее
От: "Hans Zaunere"
Дата:
Сообщение: COPY Performance
Следующее
От: Scott Ribe
Дата:
Сообщение: Race condition with notifications