Re: DRBD and Postgres: how to improve the perfomance?

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>, mfatticcioni(at)mbigroup(dot)it
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: DRBD and Postgres: how to improve the perfomance?
Date: 2007-09-07 21:54:12
Message-ID: 2C070D1C3970467FF64F6B6A@imhotep.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

--On Freitag, September 07, 2007 20:00:16 +0100 Simon Riggs
<simon(at)2ndquadrant(dot)com> wrote:

> On Fri, 2007-09-07 at 11:37 +0200, Maila Fatticcioni wrote:
>
>> protocol C;
>
> Try protocol B instead.

But that would have an impact on transaction safety, wouldn't it? It will
return immediately after reaching the remote buffer cache and you can't be
sure your data hits the remote disk.
It's a while ago i've played with such a setup, but it could be worth to
play around with max_buffers, al-extends, snd-bufsize. Oh and i think
Maila's 'rate' setting is too high: i've found rate settings
counterproductive when set too high (try a value slightly above your max
bandwidth of your connection). But i second Heikki, you should take care on
your disk setup as well.

--
Thanks

Bernd

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Simon Riggs 2007-09-08 06:28:24 Re: DRBD and Postgres: how to improve the perfomance?
Previous Message Joshua D. Drake 2007-09-07 21:15:43 Re: SAN vs Internal Disks