Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CBC01476EA3 for ; Fri, 1 Nov 2002 13:28:45 -0500 (EST) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by postgresql.org (Postfix) with ESMTP id 33D6A477069 for ; Fri, 1 Nov 2002 13:27:26 -0500 (EST) Received: from andrew by mail.libertyrms.com with local (Exim 3.22 #3 (Debian)) id 187gVy-0003Js-00 for ; Fri, 01 Nov 2002 13:27:26 -0500 Date: Fri, 1 Nov 2002 13:27:26 -0500 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: HA for high insert volume Message-ID: <20021101132726.M5799@mail.libertyrms.com> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from john_seq@hotmail.com on Wed, Oct 30, 2002 at 04:27:33PM -0500 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/26 X-Sequence-Number: 6214 On Wed, Oct 30, 2002 at 04:27:33PM -0500, John Sequeira wrote: > over has a very high # of INSERTS (it does a lot of logging), and it > seems like there might be too much overhead using something like usogres > or one of the replication options. We expect it to grow very quickly to How many inserts? We have tested eRServer (commercial version) to > 1000 inserts per second, and it kept up reasonably well. > Are people having luck using something like rsync in this instance? > This document : > http://www.taygeta.com/ha-postgresql.html > describes using rsync, but in the case where the # of inserts is low. > > Is that working for people, or is there a better way to do this? It will not work safely. This is exactly as dangerous as doing tar backups of your filesystem, except that tar has to get all of the files whereas rsync can get just the things that changed. But there is _certainly_ a window in which you could get an inconsistent snapshot, and then your backup would be completely useless. A high volume of write operations is a good way to cause the problem. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada M2P 2A8 +1 416 646 3304 x110