Re: tuning postgresql writes to disk

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: tuning postgresql writes to disk
Дата
Msg-id AANLkTikAExkhDsRFgNhGc+SUL0pHkJpyg+utgczx3LzL@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tuning postgresql writes to disk  (Vinubalaji Gopal <vinubalaji@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Gravsjö
Дата:
Сообщение: Re: Possible Bug
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Possible Bug