Re: Core team statement on replication in PostgreSQL
От | Brian Hurt |
---|---|
Тема | Re: Core team statement on replication in PostgreSQL |
Дата | |
Msg-id | 483ED5A9.9000000@janestcapital.com обсуждение исходный текст |
Ответ на | Re: Core team statement on replication in PostgreSQL (David Fetter <david@fetter.org>) |
Ответы |
Re: Core team statement on replication in PostgreSQL
|
Список | pgsql-hackers |
David Fetter wrote:<br /><blockquote cite="mid20080529152105.GO16218@fetter.org" type="cite"><pre wrap=""> 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. </pre></blockquote><br /> I don't think I agree with this. There are a large number of situations where it's positive expectancyto do precisely this- it's not unlike buying a $1 lottery ticket with a 1 chance in 100 of winning $1000- the vastmajority of the time (99 times out of 100), you're going to lose $1. But when you win, you win big, and make up forall the small losses you incurred getting there and then some. Failover machines are like that- most of the time they'renegative 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 replacementhardware) isn't that great, then no, this isn't worthwhile- but in cases where the database being down chalksup the lost money quickly, this is easy to cost-justify.<br /><br /> Being able to do read-only queries makes thisfeature more valuable in more situations, but I disagree that it's a deal-breaker.<br /><br /> Brian<br /><br />
В списке pgsql-hackers по дате отправления: