Re: Proposed Patch to Improve Performance of Multi-BatchHash Join for Skewed Data Sets

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Proposed Patch to Improve Performance of Multi-BatchHash Join for Skewed Data Sets
Дата
Msg-id 603c8f070902241918k5274a862ua8b206db145912af@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposed Patch to Improve Performance of Multi-BatchHash Join for Skewed Data Sets  ("Lawrence, Ramon" <ramon.lawrence@ubc.ca>)
Список pgsql-hackers
> Joshua sent us some preliminary data with this query and others and indicated that we could post it.  He wanted time
toclean it up 
> and re-run some experiments, but the data is generally good and the algorithm performs as expected.  I have attached
thisdata to the 
> post.  Note that the last set of data (although labelled as Z7) is actually an almost zero skew database and
representsthe worst-case 
> for the algorithm (for most queries the optimization is not even used).

Sadly, there seem to be a number of cases in the Z7 database where the
optimization makes things significantly worse (specifically, queries
2, 3, and 7, but especially query 3).  Have you investigated what is
going on there?  I had thought that we had sufficient safeguards in
place to prevent this optimization from kicking in in cases where it
doesn't help, but it seems not.  There will certainly be real-world
databases that are more like Z7 than Z1.

...Robert


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

Предыдущее
От: Frank Featherlight
Дата:
Сообщение: Re: Service not starting: Error 1053
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Service not starting: Error 1053