pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rees <drees76@gmail.com>
To: Nimesh Satam <nimesh.zedo@gmail.com>
Cc: pgsql-performance@postgresql.org, nsatam@zedo.com, gauri@zedo.com, vidhya <vidhya@zedo.com>
Subject: Re: insert and Update slow after implementing slony.
Date: Wed, 17 Dec 2008 11:59:14 -0800
Message-ID: <72dbd3150812171159t28806112l6470ef1327a2e8eb@mail.gmail.com> (raw)
In-Reply-To: <965aa3ed0812162003w43bb3ad4la18898506c1f9ef@mail.gmail.com>
References: <965aa3ed0812162003w43bb3ad4la18898506c1f9ef@mail.gmail.com>

On Tue, Dec 16, 2008 at 8:03 PM, Nimesh Satam <nimesh.zedo@gmail.com> wrote:
> We are trying to implement slony as a replication tool for one of our
> database. The Insert and updates have increased by approximately double
> making some of our important script slow.

What version of PostgreSQL are you running and on what type of hardware?

I suspect that moving pg_log onto a separate spindle and/or upgrading
your RAID controller to something with a BBU and configured in
write-back mode would get most of your performance back.

If you aren't running PostgreSQL 8.3, that might also help update
performance significantly as well.

-Dave



view thread (2+ messages)

Message-ID: <72dbd3150812171159t28806112l6470ef1327a2e8eb@mail.gmail.com>
Permalink:  ../72dbd3150812171159t28806112l6470ef1327a2e8eb@mail.gmail.com/
Also on:    postgresql.org/message-id/72dbd3150812171159t28806112l6470ef1327a2e8eb@mail.gmail.com

 · 

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: drees76@gmail.com, nimesh.zedo@gmail.com, vidhya@zedo.com
  Subject: Re: insert and Update slow after implementing slony.
  In-Reply-To: <72dbd3150812171159t28806112l6470ef1327a2e8eb@mail.gmail.com>
  References: <965aa3ed0812162003w43bb3ad4la18898506c1f9ef@mail.gmail.com> <72dbd3150812171159t28806112l6470ef1327a2e8eb@mail.gmail.com>

* 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