Re: COMMIT NOWAIT Performance Option

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: COMMIT NOWAIT Performance Option
Дата
Msg-id 20070227002053.GT19104@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: COMMIT NOWAIT Performance Option  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: COMMIT NOWAIT Performance Option  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs wrote:

> The interesting point is you can have a huge data grinding app, yet with
> other tables alongside that hold more important data. In that scenario,
> 90% of the data would be COMMIT NOWAIT, whilst the small important data
> is safe.

Does this means that the regular COMMIT is slower because it has to
force more data to disk?  I imagine that this isn't the case, because
it's not the write itself that's slow; rather, it's the wait until the
fsync on WAL is reported complete.  However, did you measure this?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum next steps, take 2
Следующее
От: "A.M."
Дата:
Сообщение: Re: COMMIT NOWAIT Performance Option