Re: large inserts and fsync

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: large inserts and fsync
Дата
Msg-id 200809050839.08705@hal.medialogik.com
обсуждение исходный текст
Ответ на Re: large inserts and fsync  (Sam Mason <sam@samason.me.uk>)
Список pgsql-general
> > > Have you tried bundling all the INSERT statements into a single
> > > transaction?
> >
> > Yes, the developer already made sure of that and I verified.

I would verify that again, because fsync shouldn't make much of a difference
in that circumstance. I might not do all 16 million in one transaction, but
if you're doing 10 or 100 thousand at a time, it should be pretty fast.

A language-level auto-commit remains to be disabled, perhaps?


--
Alan

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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: large inserts and fsync
Следующее
От: Tom Lane
Дата:
Сообщение: Re: large inserts and fsync