Re: Preventing index scans for non-recoverable index AMs
В списке pgsql-hackers по дате отправления:
| От | Simon Riggs |
|---|---|
| Тема | Re: Preventing index scans for non-recoverable index AMs |
| Дата | |
| Msg-id | 1229569017.4793.302.camel@ebony.2ndQuadrant обсуждение исходный текст |
| Ответ на | Re: Preventing index scans for non-recoverable index AMs (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-hackers |
On Wed, 2008-12-17 at 23:28 -0300, Alvaro Herrera wrote: > Hmm, it doesn't seem like you understood my suggestion ... basically I'm > saying that a hash index insert/delete should put out this WAL record: > > HEAP update address-of-pg_index-tuple set indisvalid=false > > (I'm just guessing at indisvalid but you get my point) That would be simple and I'm very sorry to say I still don't think it would work. But yes, I did misunderstand you. In-progress hash index scans would not be prevented from executing by the WAL record, so you might end up following a bad pointer. We probably wouldn't want to try killing anybody using index either, since that would end up as a complete bloodbath. -- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера