Re: database slowdown while a lot of inserts occur

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: database slowdown while a lot of inserts occur
Дата
Msg-id 4F7659AC.1000507@fuzzy.cz
обсуждение исходный текст
Ответ на Re: database slowdown while a lot of inserts occur  (Bob Lunney <bob_lunney@yahoo.com>)
Ответы Re: database slowdown while a lot of inserts occur  (Bob Lunney <bob_lunney@yahoo.com>)
Список pgsql-performance
On 29.3.2012 21:27, Bob Lunney wrote:
> Lance,
>
> May small inserts cause frequent fsyncs.  Is there any way those small
> inserts can be batched into some larger sets of inserts that use copy to
> perform the load?

Not necessarily - fsync happens at COMMIT time, not when the INSERT is
performed (unless each INSERT stands on it's own).

Tomas

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Linux machine aggressively clearing cache
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: database slowdown while a lot of inserts occur