| От | Qingqing Zhou |
|---|---|
| Тема | Re: Tuple hint bits (INFOMASK) upon transaction abort |
| Дата | |
| Msg-id | e6t891$1rqn$1@news.hub.org обсуждение |
| Ответ на | Tuple hint bits (INFOMASK) upon transaction abort (letizia leo <letizia_leo@yahoo.it>) |
| Список | pgsql-hackers |
"letizia leo" <letizia_leo@yahoo.it> wrote > > Transaction T1 updates a given tuple -- xmax is set to T1 on that tuple > ... > later on, T1 aborts... we believe that in this circumstance HEAP_XMAX_INVALID should > be set on the tuple to signal that the tuple was not actually "deleted" by T1 since this aborted. > Not really. HEAP_XMAX_INVALID is a value of the hint bits, which helps to fast determine if a tuple is visible. The important thing is the header xmin, xmax, cmin, cmax stuff, which decides the visibility of the a tuple. When they are checked, current backend might be happy to set the hint bits so that other backends can fast determine its visibility with less job. So you can say even without these hint bits, Postgres won't make anything wrong, but may get slower. Regards, Qingqing
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера