pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bernd Helmle <mailings@oopsware.de>
To: Simon Riggs <simon@2ndquadrant.com>
To: mfatticcioni@mbigroup.it
Cc: pgsql-performance@postgresql.org
Subject: Re: DRBD and Postgres: how to improve the perfomance?
Date: Fri, 07 Sep 2007 23:54:12 +0200
Message-ID: <2C070D1C3970467FF64F6B6A@imhotep.credativ.de> (raw)

--On Freitag, September 07, 2007 20:00:16 +0100 Simon Riggs 
<simon@2ndquadrant.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



view thread (28+ messages)  latest in thread

Message-ID: <2C070D1C3970467FF64F6B6A@imhotep.credativ.de>
Permalink:  ../2C070D1C3970467FF64F6B6A@imhotep.credativ.de/
Also on:    postgresql.org/message-id/2C070D1C3970467FF64F6B6A@imhotep.credativ.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: mailings@oopsware.de, simon@2ndquadrant.com, mfatticcioni@mbigroup.it
  Subject: Re: DRBD and Postgres: how to improve the perfomance?
  In-Reply-To: <2C070D1C3970467FF64F6B6A@imhotep.credativ.de>
  References: <2C070D1C3970467FF64F6B6A@imhotep.credativ.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox