Re: COPY vs INSERT

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: COPY vs INSERT
Дата
Msg-id 42797C1A.3090303@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: COPY vs INSERT  ("David Roussel" <pgsql-performance@diroussel.xsmail.com>)
Ответы Re: COPY vs INSERT  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
> So what's the difference between a COPY and a batch of INSERT
> statements.  Also, surely, fsyncs only occur at the end of a
> transaction, no need to fsync before a commit has been issued, right?

With COPY, the data being inserted itself does not have to pass through
the postgresql parser.

Chris

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: COPY vs INSERT
Следующее
От: Tom Lane
Дата:
Сообщение: Re: COPY vs INSERT