Re: Merge David and Goliath tables efficiently

Поиск
Список
Период
Сортировка
От nicolas paris
Тема Re: Merge David and Goliath tables efficiently
Дата
Msg-id e938f93dded1dd0ffe220946a303215991a36bd6.camel@riseup.net
обсуждение исходный текст
Ответ на Re: Merge David and Goliath tables efficiently  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Список pgsql-performance
On Mon, 2023-06-19 at 13:34 +0200, Tomas Vondra wrote:
>
>
> On 6/18/23 22:57, nicolas paris wrote:
> > > ...
> > > Well, I kinda doubt you have 17023331531230 rows (not even
> > > physically
> > > possible with 2TB disk), so that's immediately suspicious.
> >
> > Below is the full plan for the strategy 2.1 (Indeed the previous
> > email
> > plan was truncated and wrong, sorry for that). 
> >
>
> None of the plans has estimates anywhere close to 17023331531230, so
> where did that come from?
>

Well this was an old plan where there was an issue: the david table did
not have the same partitioning scheme as goliath. It was partitioned by
an other column.



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Merge David and Goliath tables efficiently
Следующее
От: nicolas paris
Дата:
Сообщение: Re: Merge David and Goliath tables efficiently