Re: cheaper snapshots redux

Поиск
Список
Период
Сортировка
От Amit kapila
Тема Re: cheaper snapshots redux
Дата
Msg-id 6C0B27F7206C9E4CA54AE035729E9C380B722FFF@szxeml509-mbx.china.huawei.com
обсуждение исходный текст
Ответ на cheaper snapshots redux  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><p>>> 4. Won't it effect if we
don'tupdate xmin everytime and just noting the committed XIDs. The reason I am asking is that it is used in
tuple visibilitycheck so with new idea in some cases instead of just returning >>     from begining by checking
xminit has to go through the committed XID list. <p>>> I understand that there may be less cases or the
improvementby your idea can supesede this minimal effect. However some cases can be defeated.<br /><br /> >The
snapshotxmin has to be up to date.  I'm not planning to break that because it would be wrong.<p>   In the approach
mentionedin your idea, it mentioned that once after taking snapshot, only committed XIDs will be updated and sometimes
snapshotitself.<p>   So when the xmin will be updated according to your idea.<br /><br /> >RecentGlobalXmin doesn't
needto be completely up to date, and in fact recomputing it on every snapshot becomes prohibitively expensive with this
approach. I'm still struggling with the best way to handle that.<p>   RecentGlobalXmin and RecentXmin are mostly
updatedwith snapshots xmin and that too outside ProcArrayLock, so why it will be expensive if you have updated xmin.<br
/><br/><p>With Regards,<p>Amit Kapila.<p><br />
***************************************************************************************<br/> This e-mail and
attachmentscontain confidential information from HUAWEI,<br /> which is intended only for the person or entity whose
addressis listed<br /> above. Any use of the information contained herein in any way (including,<br /> but not limited
to,total or partial disclosure, reproduction, or<br /> dissemination) by persons other than the intended recipient's)
is<br/> prohibited. If you receive this e-mail in error, please notify the sender by<br /> phone or email immediately
anddelete it!<br /></div> 

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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: What Would You Like To Do?
Следующее
От: Jeff Davis
Дата:
Сообщение: collation, arrays, and ranges