Re: Hot standby, recovery infra
От | Heikki Linnakangas |
---|---|
Тема | Re: Hot standby, recovery infra |
Дата | |
Msg-id | 498AA3C7.706@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: Hot standby, recovery infra (Simon Riggs <simon@2ndQuadrant.com>) |
Ответы |
Re: Hot standby, recovery infra
|
Список | pgsql-hackers |
Simon Riggs wrote: > On Thu, 2009-02-05 at 09:28 +0200, Heikki Linnakangas wrote: > >>>> I've changed the way minRecoveryPoint is updated now anyway, so it no >>>> longer happens every XLogFileRead(). >>> Care to elucidate? >> I got rid of minSafeStartPoint, advancing minRecoveryPoint instead. And >> it's advanced in XLogFlush instead of XLogFileRead. I'll post an updated >> patch soon. > > Why do you think XLogFlush is called less frequently than XLogFileRead? It's not, but we only need to update the control file when we're "flushing" an LSN that's greater than current minRecoveryPoint. And when we do update minRecoveryPoint, we can update it to the LSN of the last record we've read from the archive. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: