Skip site navigation (1) Skip section navigation (2)

Re: Core team statement on replication in PostgreSQL

From: Brian Hurt <bhurt(at)janestcapital(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Core team statement on replication in PostgreSQL
Date: 2008-05-29 16:11:21
Message-ID: 483ED5A9.9000000@janestcapital.com (view raw or flat)
Thread:
Lists: pgsql-advocacypgsql-hackers
David Fetter wrote:

>
>This part is a deal-killer.  It's a giant up-hill slog to sell warm
>standby to those in charge of making resources available because the
>warm standby machine consumes SA time, bandwidth, power, rack space,
>etc., but provides no tangible benefit, and this feature would have
>exactly the same problem.
>
>IMHO, without the ability to do read-only queries on slaves, it's not
>worth doing this feature at all.
>
>  
>

I don't think I agree with this.  There are a large number of situations 
where it's positive expectancy to do precisely this- it's not unlike 
buying a $1 lottery ticket with a 1 chance in 100 of winning $1000- the 
vast majority of the time (99 times out of 100), you're going to lose 
$1.  But when you win, you win big, and make up for all the small losses 
you incurred getting there and then some.  Failover machines are like 
that- most of the time they're negative value, as you said- taking up SA 
time, bandwidth, power, rack space, money, etc.  But every once in a 
(great) while, they save you.  If the cost of having the database down 
for hours or days (as you madly try to next-day replacement hardware) 
isn't that great, then no, this isn't  worthwhile- but in cases where 
the database being down chalks up the lost money quickly, this is easy 
to cost-justify.

Being able to do read-only queries makes this feature more valuable in 
more situations, but I disagree that it's a deal-breaker.

Brian

In response to

Responses

pgsql-hackers by date

Next:From: David FetterDate: 2008-05-29 16:12:02
Subject: Re: Core team statement on replication in PostgreSQL
Previous:From: Josh BerkusDate: 2008-05-29 16:10:26
Subject: Re: Core team statement on replication in PostgreSQL

pgsql-advocacy by date

Next:From: David FetterDate: 2008-05-29 16:12:02
Subject: Re: Core team statement on replication in PostgreSQL
Previous:From: Josh BerkusDate: 2008-05-29 16:10:26
Subject: Re: Core team statement on replication in PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group