Re: alpha3 release schedule?

Поиск
Список
Период
Сортировка
От Florian Pflug
Тема Re: alpha3 release schedule?
Дата
Msg-id 4B30AE53.6020202@gmail.com
обсуждение исходный текст
Ответ на Re: alpha3 release schedule?  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: alpha3 release schedule?  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On 22.12.09 9:34 , Simon Riggs wrote:
> If you are saying being able to start Hot Standby from a shutdown
> checkpoint is an important feature for you, then say so, and why.

I think it's not so much an important feature but more the removal of a
footgun.

Image a reporting database where all transactions but a few daily bulk
imports are read-only. To spread the load, you do your bulk loads on the
master, but run the reporting queries against a read-only HS slave. Now
you take the master down for maintenance. Since all clients but the bulk
loader use the slave already, and since the bulk loads can be deferred
until after the maintenance window closes again, you don't actually do a
fail-over.

Now you're already pointing at your foot with the gun. All it takes to
ruin your day is *some* reason for the slave to restart. Maybe due to a
junior DBA's typo, or maybe due to a bug in postgres. Anway, once the
slave is down, it won't come up until you manage to get the master up
and running again. And this limitation is pretty surprising, since one
would assume that if the slave survives a *crash* of the master, it'd
certainly survive a simple *shutdown*.

best regards,
Florian Pflug


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Cédric Villemain
Дата:
Сообщение: Re: Buffer statistics for pg_stat_statements
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Streaming replication and non-blocking I/O