X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7578352957 for ; Wed, 30 Mar 2005 00:51:14 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32818-10 for ; Tue, 29 Mar 2005 23:51:04 +0000 (GMT) Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by svr1.postgresql.org (Postfix) with ESMTP id 7DBE85294E for ; Wed, 30 Mar 2005 00:51:03 +0100 (BST) Received: from 192.168.1.52 (fc1smp [66.93.38.87]) by hosting.commandprompt.com (8.12.8/8.12.8) with ESMTP id j2TNlYkh019048; Tue, 29 Mar 2005 15:47:35 -0800 Subject: Re: Replication solutions high volume db From: "Joshua D. Drake" Reply-To: jd@commandprompt.com To: David B Cc: pgsql-admin@postgresql.org In-Reply-To: References: Content-Type: text/plain Organization: Joshua D. Drake Date: Tue, 29 Mar 2005 15:50:56 -0800 Message-Id: <1112140257.27795.67.camel@jd2.commandprompt.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.032 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/468 X-Sequence-Number: 16966 > > I think I've narrowed it down to Slony and Mammoth. > Any pro's or con's on one vs the other? Slony is more complicated to setup. Slony requires triggers and cron. Slony is asynchronous Slony is Open Source If Slony breaks you can call Command Prompt It used to be that Slony was timed replication. I do not know if that is still the case. Mammoth is about as easy as it can be to setup. Mammoth does not require triggers or cron Mammoth is asynchronous Mammoth costs $$$ Mammoth is set to be optionally synchronous in June. Mammoth replicates on a per comitted transaction basis. Mammoth Replicator is PostgreSQL with integrated replication. If Mammoth breaks you can call Command Prompt ;) > > Some area where our environement might stretch a solution. > Some records can be large. Limitied to one table but they can be 40K+ > of chraracters in a column. As long as that is not the primary key, there wouldn't be a problem. The length of the primary key can not be greater than 8k with Mammoth. > > High volume of inserts coming during nightly load (millions of rows). > These loads are coming in commited blocks of 100. No problem. > > That cannot slow down the replication. > Our call center agents needs access to them asap. > > Any locking issues on the master during the replication process? Neither Mammoth or Slony require any exclusive locks to replicate the data. Sincerely, Joshua D. Drake > Anything else I should be concerned about or things I need to consider? > Personal experiences you have had running either. > > tia > David > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings -- Command Prompt, Inc., Your PostgreSQL solutions company. 503-667-4564 Custom programming, 24x7 support, managed services, and hosting Open Source Authors: plPHP, pgManage, Co-Authors: plPerlNG Reliable replication, Mammoth Replicator - http://www.commandprompt.com/