Re: Page at a time index scan
От | Tom Lane |
---|---|
Тема | Re: Page at a time index scan |
Дата | |
Msg-id | 18365.1146682184@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Page at a time index scan (Heikki Linnakangas <hlinnaka@iki.fi>) |
Ответы |
Re: Page at a time index scan
|
Список | pgsql-patches |
Heikki Linnakangas <hlinnaka@iki.fi> writes: > The point remains, however. A page won't get deleted while a scan > might still be interested in it, because deleted pages are not > immediately recycled (except on vacuum full), and the left and right > sibling pointers stay intact until no transaction can be interested in it. Right. AFAICS there isn't any assumption there that isn't already made by indexscans, since we drop pin before moving to the adjacent page anyway. You still have to be prepared to deal with the same situations. (The new assumption is that index items won't be moved onto a pre-existing right sibling page; the old scan logic didn't assume that.) Heikki, were you planning to make a round of revisions in the patch, or is this as far as you wanted to take it? regards, tom lane
В списке pgsql-patches по дате отправления: