Re: tuning postgresql writes to disk - Mailing list pgsql-general

From Vick Khera
Subject Re: tuning postgresql writes to disk
Date
Msg-id AANLkTikAExkhDsRFgNhGc+SUL0pHkJpyg+utgczx3LzL@mail.gmail.com
Whole thread Raw
In response to Re: tuning postgresql writes to disk  (Vinubalaji Gopal <vinubalaji@gmail.com>)
List pgsql-general

On Mon, Feb 7, 2011 at 7:43 PM, Vinubalaji Gopal <vinubalaji@gmail.com> wrote:
Thank you. I will try to run some performance tests using the async
commit option. Is there an easy way to find the lost transactions or
does it have to be handled by the application?

By definition, your application has to be able to detect it. If the DB were able find them, they wouldn't be lost.

Personally, I turn off synchronous commit on a per-connection basis based on what my application is doing. When I insert or update data, I need to ensure it is there; when I move data around or do batch processing on it, it is usually a restartable operation.

pgsql-general by date:

Previous
From: Robert Gravsjö
Date:
Subject: Re: Possible Bug
Next
From: Adrian Klaver
Date:
Subject: Re: Possible Bug