Re: Optimizing for writes. Data integrity not critical

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: Optimizing for writes. Data integrity not critical
Дата
Msg-id 20050519222731.GB20142@uio.no
обсуждение исходный текст
Ответ на Optimizing for writes. Data integrity not critical  (Steve Bergman <steve@rueb.com>)
Ответы Re: Optimizing for writes. Data integrity not critical
Список pgsql-performance
On Thu, May 19, 2005 at 05:21:07PM -0500, Steve Bergman wrote:
> I'm doing the writes individually.  Is there a better way?  Combining
> them all into a transaction or something?

Batching them all in one or a few transactions will speed it up a _lot_.
Using COPY would help a bit more on top of that.

/* Steinar */
--
Homepage: http://www.sesse.net/

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

Предыдущее
От: Steve Bergman
Дата:
Сообщение: Optimizing for writes. Data integrity not critical
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Optimizing for writes. Data integrity not critical