Re: Hot Standby (v9d)
От | Jeff Davis |
---|---|
Тема | Re: Hot Standby (v9d) |
Дата | |
Msg-id | 1233176154.5692.15.camel@dell.linuxdev.us.dell.com обсуждение исходный текст |
Ответ на | Re: Hot Standby (v9d) (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
Список | pgsql-hackers |
On Wed, 2009-01-28 at 22:47 +0200, Heikki Linnakangas wrote: > It's not quite that simple. Setting max_standby_delay=5mins means that > you're willing to wait 5 minutes for each query to die. Which means that > in worst case you have to stop for 5 minutes at every single vacuum > record, and fall behind much more than 5 minutes. Just trying to follow along: are you talking about the situation where there are (for example) a continuous stream of "select pg_sleep(600)" on the standby, and a series of rapid VACUUMs on the primary? This situation might be more likely now that we have partial VACUUMs. > It should also be noted that the control functions allow you to connect > to the database and manually pause/resume the replay. So you can for > example set max_standby_delay=0 during the day, but pause the replay > manually before starting a nightly report. > That's a very cool feature. Regards,Jeff Davis
В списке pgsql-hackers по дате отправления: