pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: No flamefest please, MySQL vs. PostgreSQL AGAIN
Date: Wed, 14 May 2003 13:48:59 -0400
Message-ID: <20030514174859.GS20729@libertyrms.info> (raw)
In-Reply-To: <200305131232.14065.mike@nachbaur.com>
References: <1052721342.17601.118.camel@timetop>
	<20030513120818.GA17278@libertyrms.info>
	<1052850992.10336.13.camel@lyric.ofsloans.com>
	<200305131232.14065.mike@nachbaur.com>

On Tue, May 13, 2003 at 12:32:14PM -0700, Michael A Nachbaur wrote:
> 
> 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.

You not only need an index on it; you need a unique index on it.  (If
you have duplicates, replication breaks.)

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (15+ messages)  latest in thread

Message-ID: <20030514174859.GS20729@libertyrms.info>
Permalink:  ../20030514174859.GS20729@libertyrms.info/
Also on:    postgresql.org/message-id/20030514174859.GS20729@libertyrms.info

 · 

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-admin@postgresql.org
  Cc: andrew@libertyrms.info
  Subject: Re: No flamefest please, MySQL vs. PostgreSQL AGAIN
  In-Reply-To: <20030514174859.GS20729@libertyrms.info>
  References: <1052721342.17601.118.camel@timetop> <20030513120818.GA17278@libertyrms.info> <1052850992.10336.13.camel@lyric.ofsloans.com> <200305131232.14065.mike@nachbaur.com> <20030514174859.GS20729@libertyrms.info>

* 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