Re: Damage control for planner's get_actual_variable_endpoint() runaway

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Damage control for planner's get_actual_variable_endpoint() runaway
Дата
Msg-id CA+TgmoaJJU2dYt_Qg5r0pEMZ_q2zVoRRCvJDREJ_S6b=HfTeew@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Damage control for planner's get_actual_variable_endpoint() runaway  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Damage control for planner's get_actual_variable_endpoint() runaway  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Nov 21, 2022 at 12:38 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Andres Freund <andres@anarazel.de> writes:
> > This can't quite be right - isn't this only applying the limit if we found a
> > visible tuple?
>
> What it's restricting is the number of heap page fetches, which
> might be good enough.  We don't have a lot of visibility here
> into how many index pages were scanned before returning the next
> not-dead index entry, so I'm not sure how hard it'd be to do better.

Oh. That's really sad. Because I think the whole problem here is that
the number of dead index entries can be huge.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Damage control for planner's get_actual_variable_endpoint() runaway
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Damage control for planner's get_actual_variable_endpoint() runaway