Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id C9FC163286B for ; Sun, 7 Feb 2010 23:32:59 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 53379-10 for ; Mon, 8 Feb 2010 03:32:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ww0-f46.google.com (mail-ww0-f46.google.com [74.125.82.46]) by mail.postgresql.org (Postfix) with ESMTP id E9C51632673 for ; Sun, 7 Feb 2010 23:32:48 -0400 (AST) Received: by wwi18 with SMTP id 18so1529524wwi.19 for ; Sun, 07 Feb 2010 19:32:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=+UYgAJbd+/VuxlAPSJ//6GEULhBBc5JGK587woDdQYc=; b=EOeIFw/NaIapkJAMfWezTwlevoRVCOwBjvyvYAXwQFVNyuijGNzWWF/SoDsn5DTgzu j7//kvrQbbs7YxSWdurIcAyYhwnsl2lprZiX2XGLSe15d0w4kS09k63GicfcIgu6L0E3 X4el8NINv7vi4cqLbjnpxHWKdy+Z/B4sXvxpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=i6mDT2p0O0ecXeh9g+E+OMfBxd/RuWkyf1DX3ay5uEhCnIZ1eJBcuZvHwZKfFETUTh PhRLxEWyyhpQSSh+NtT7dJyZmftHZKjj6wq+AqJ6c8AyBKywONCDpA/LvwHeCyWgyBWX GKYu98h+/MY7kwfEhJoZwb1DEI/yDRv9I9JEc= MIME-Version: 1.0 Received: by 10.216.90.208 with SMTP id e58mr209912wef.57.1265599966572; Sun, 07 Feb 2010 19:32:46 -0800 (PST) In-Reply-To: <99024f5f1002071922j5b14c350mb1612313690f16ec@mail.gmail.com> References: <99024f5f1002071922j5b14c350mb1612313690f16ec@mail.gmail.com> Date: Sun, 7 Feb 2010 20:32:46 -0700 Message-ID: Subject: Re: Best Replication Tool From: Scott Marlowe To: Kiswono Prayogo Cc: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.235 tagged_above=-10 required=5 tests=AWL=-1.997, BAYES_50=0.001, FS_REPLICA=1.041, SARE_SPEC_REPLICA=0.72 X-Spam-Level: X-Archive-Number: 201002/55 X-Sequence-Number: 33658 On Sun, Feb 7, 2010 at 8:22 PM, Kiswono Prayogo wrote: > Hi, i'm really new to postgresql replication, was there any > replication tool for postgresql that can do real-time replication from > 1 database to ~3-10 database (on the other machines) with little > overhead for load balancing purpose? Well, you're not telling us how much traffic you're looking at or how powerful your servers will be. Where I work we have two large master servers (lots of SAS drives on power hardware RAID controllers with battery backed cache) which are our master and slave-master, so to speak, then we currently have two, but may have more, slaves synced off of the slave-master machine. We use slony. It works well enough, but there are some issues with large numbers of db objects (lots of tables / indexes / schemas) that we've run into with it that are making me pull some hair out, and I haven't had time to troubleshoot them. Overall though, it's a quite capable system, and once it's setup and running it's fast and stable. There's also londiste, bucardo, and a few others worth looking at.