pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
To: 'David F. Skoll' <dfs@roaringpenguin.com>
To: pgsql-admin@postgresql.org
Cc: Naomi Walker <nwalker@eldocomp.com>
Subject: Re: No flamefest please, MySQL vs. PostgreSQL AGAIN
Date: Tue, 13 May 2003 14:12:20 -0400
Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC09225D@THOR.goeci.com> (raw)

>-----Original Message-----
>From: David F. Skoll [mailto:dfs@roaringpenguin.com]
>Sent: Monday, May 12, 2003 16:08
>To: pgsql-admin@postgresql.org
>Subject: Re: [ADMIN] No flamefest please, MySQL vs. PostgreSQL AGAIN
>
>
>On Mon, 12 May 2003, Naomi Walker wrote:
>
>> We would be interested in replication, so reporting could be 
>done against a
>> different server than production.
>
>And I'm interested in replication for failover purposes.  Automatic
>hot-failover isn't really required for my application, but a "warm"
>failover that can have a mostly-up-to-date data set and be activated
>within a few minutes would be very nice.

I think you'll find the discussion on "LVM snapshots" 
http://marc.theaimsgroup.com/?l=postgresql-admin&w=2&r=1&s=LVM+snapshots&q=b
relevant. If you don't need the log roll-forward coming with postgresql
PITR, and your reporting function is run infrequently, you can get "really
lazy replication" with rsync, LVM (or EVMS or hardware) snapshots, and a
journaling filesystem (an example script is included in the discussion).
This strategy has eliminated a big problem we had with postgresql dumps
taking too long on large datasets, but it also facilitates the applications
David and Naomi are interested in, under the right circumstances.

	Murthy

(With XFS as the underlying filesystem, snapshot creation sometimes gets
stuck in D state, and so does the $PGDATA filesystem. I have an updated
example script with a workaround for this, which I will post in a day or
two; an updated version of XFS with a permanent fix is in testing.)




view thread (15+ messages)  latest in thread

Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC09225D@THOR.goeci.com>
Permalink:  ../2D92FEBFD3BE1346A6C397223A8DD3FC09225D@THOR.goeci.com/
Also on:    postgresql.org/message-id/2D92FEBFD3BE1346A6C397223A8DD3FC09225D@THOR.goeci.com

 · 

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: murthy.kambhampaty@goeci.com, dfs@roaringpenguin.com, nwalker@eldocomp.com
  Subject: Re: No flamefest please, MySQL vs. PostgreSQL AGAIN
  In-Reply-To: <2D92FEBFD3BE1346A6C397223A8DD3FC09225D@THOR.goeci.com>
  References: <2D92FEBFD3BE1346A6C397223A8DD3FC09225D@THOR.goeci.com>

* 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