| От | Simon Riggs |
|---|---|
| Тема | Re: Hot standby and b-tree killed items |
| Дата | |
| Msg-id | 1229710177.4793.567.camel@ebony.2ndQuadrant обсуждение исходный текст |
| Ответ на | Re: Hot standby and b-tree killed items (Simon Riggs <simon@2ndQuadrant.com>) |
| Список | pgsql-hackers |
On Fri, 2008-12-19 at 10:52 +0000, Simon Riggs wrote: > > You could > > conservatively use OldestXmin as latestRemovedXid, but that could stall > > the WAL redo a lot more than necessary. Or you could store > > latestRemovedXid in the page header, but that would need to be > > WAL-logged to ensure that it's valid after crash. Or you could look at > > the heap to fetch the xmin/xmax, but that would be expensive. > > Agreed. Probably need to use OldestXmin then. Just finished coding this up, plus TODO item to pin every index page. Will post after some further testing. Used RecentOldestXmin. -- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера