X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 25D8A476164 for ; Tue, 13 May 2003 15:32:15 -0400 (EDT) Received: from dbdevel.sunwave.net (h64-141-16-15.sunwave.net [64.141.16.15]) by postgresql.org (Postfix) with ESMTP id 31EBE475AA9 for ; Tue, 13 May 2003 15:32:14 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by dbdevel.sunwave.net (Postfix) with ESMTP id 25395178002; Tue, 13 May 2003 15:32:14 -0400 (EDT) From: Michael A Nachbaur To: Will LaShell , PostgreSQL Admin Subject: Re: No flamefest please, MySQL vs. PostgreSQL AGAIN Date: Tue, 13 May 2003 12:32:14 -0700 User-Agent: KMail/1.5 References: <1052721342.17601.118.camel@timetop> <20030513120818.GA17278@libertyrms.info> <1052850992.10336.13.camel@lyric.ofsloans.com> In-Reply-To: <1052850992.10336.13.camel@lyric.ofsloans.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305131232.14065.mike@nachbaur.com> X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/156 X-Sequence-Number: 8718 On Tuesday 13 May 2003 11:36 am, Will LaShell wrote: > On Tue, 2003-05-13 at 05:08, Andrew Sullivan wrote: > > On Mon, May 12, 2003 at 02:21:21PM -0400, Robert Treat wrote: > > > On Mon, 2003-05-12 at 10:32, Tom Lane wrote: > > > > in 7.4 either. Possibly 7.5. In the meantime, third-party solutions > > > > are still your only option, and PostgreSQL Inc's one is probably the > > > > best. > > > I wouldn't say they are your only options. there is the rserv code in > > > contrib which I've seen people post they have gotten working. There is > > The contrib/rserv code does indeed work for some people, and it is > > useful. It is nowhere close to handling large volumes, but for fewer > > than a few thousand writes an hour, it seems to be good. > > I'd like to put my two cents in on this one. We use rserv on our > cluster here, and we do a few hundred writes every 2 minutes. The > biggest thing that will cause slowdowns with rserv is not indexing the > replication id field. If there is an index for that it should work > fine. I tried rserv with a database that has over 1000 inserts per minute, and it would just sit there for days at the "Preparing snapshot" (on a Dual-Xeon/2GHz). I hadn't tried indexing the id column though. > I do have some rudimentary documentation on how we did it all, and I > suppose I should really get that sent in. Yes, Please, the documentation out there could definitely be improved with some other case studies.