From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Peter Childs" <peterachilds(at)gmail(dot)com> |
Cc: | "Postgresql Performance" <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: Commit takes a long time. |
Date: | 2008-01-03 16:20:01 |
Message-ID: | 162867790801030820w6a150ab8jf63d03e92de449ed@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Hello
On 03/01/2008, Peter Childs <peterachilds(at)gmail(dot)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
>
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Sven Geisler | 2008-01-03 16:27:44 | Re: Linux/PostgreSQL scalability issue - problem with 8 cores |
Previous Message | Peter Childs | 2008-01-03 14:35:37 | Commit takes a long time. |