Re: anti-join chosen even when slower than old plan

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: anti-join chosen even when slower than old plan
Дата
Msg-id 4CD983E002000025000374D7@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: anti-join chosen even when slower than old plan  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> However, you'd have to be spending a lot of time chasing through
> long HOT chains before that would happen enough to make this a
> hotspot...

That makes it all the more mysterious, then.  These tables are
insert-only except for a weekly delete of one week of the oldest
data.  The parent table, with the date, is deleted first, then this
table deletes "where not exists" a corresponding parent.  I can't
see how we'd ever have a HOT chain in these tables.

Is there anything in particular you'd like me to check?

-Kevin

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: anti-join chosen even when slower than old plan
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Huge overestimation in rows expected results in bad plan