Re: Avoiding tuple construction/deconstruction during joining

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Avoiding tuple construction/deconstruction during joining
Дата
Msg-id 29030.1110828155@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Avoiding tuple construction/deconstruction during joining  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Ответы Re: Avoiding tuple construction/deconstruction during joining  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Список pgsql-performance
=?windows-1250?Q?Miroslav_=8Aulc?= <miroslav.sulc@startnet.cz> writes:
> seriously, I am far below this level of knowledge. But I can contribute
> a test that (maybe) can help. I have rewritten the query so it JOINs the
> varchar() fields (in fact all fields except the IDPK) at the last INNER
> JOIN. Though there is one more JOIN, the query is more than 5 times
> faster (1975.312 ms) :-)

That confirms my thought that passing the data up through multiple
levels of join is what's killing us.  I'll work on a solution.  This
will of course be even less back-patchable to 8.0.* than Ogawa's work,
but hopefully it will fix the issue for 8.1.

            regards, tom lane

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

Предыдущее
От: Miroslav Šulc
Дата:
Сообщение: Re: Avoiding tuple construction/deconstruction during joining
Следующее
От: "Bryan Encina"
Дата:
Сообщение: Re: column name is "LIMIT"