Re: Commit takes a long time.

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Commit takes a long time.
Дата
Msg-id 162867790801030820w6a150ab8jf63d03e92de449ed@mail.gmail.com
обсуждение исходный текст
Ответ на Commit takes a long time.  ("Peter Childs" <peterachilds@gmail.com>)
Список pgsql-performance
Hello

On 03/01/2008, Peter Childs <peterachilds@gmail.com> wrote:
> Using Postgresql 8.1.10 every so often I get a transaction that takes a
> while to commit.
>
> I log everything that takes over 500ms and quite reguallly it says things
> like
>
> 707.036 ms statement: COMMIT
>
> Is there anyway to speed this up?
>

there can be two issues:
a) some trigger activity for  DEFERRED constraints
b) slow write to WAL

http://www.westnet.com/~gsmith/content/postgresql/

in normal cases COMMIT is really fast operation.

Regards
Pavel Stehule

> Peter Childs
>
>
>
>

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

Предыдущее
От: "Peter Childs"
Дата:
Сообщение: Commit takes a long time.
Следующее
От: Sven Geisler
Дата:
Сообщение: Re: Linux/PostgreSQL scalability issue - problem with 8 cores