Re: Commit takes a long time. - Mailing list pgsql-performance

From Pavel Stehule
Subject Re: Commit takes a long time.
Date
Msg-id 162867790801030820w6a150ab8jf63d03e92de449ed@mail.gmail.com
Whole thread Raw
In response to Commit takes a long time.  ("Peter Childs" <peterachilds@gmail.com>)
List 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 by date:

Previous
From: "Peter Childs"
Date:
Subject: Commit takes a long time.
Next
From: Sven Geisler
Date:
Subject: Re: Linux/PostgreSQL scalability issue - problem with 8 cores