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

Поиск
Список
Период
Сортировка
От Lawrence, Ramon
Тема Re: Proposed Patch to Improve Performance ofMulti-BatchHash Join for Skewed Data Sets
Дата
Msg-id 6EEA43D22289484890D119821101B1DF2C199C@exchange20.mercury.ad.ubc.ca
обсуждение исходный текст
Ответ на Re: Proposed Patch to Improve Performance of Multi-BatchHash Join for Skewed Data Sets  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Proposed Patch to Improve Performance ofMulti-BatchHash Join for Skewed Data Sets
Список pgsql-hackers
> They're automatically generated by the dbgen utility, a link to which
> was originally published somewhere in this thread. That tool creates a
> few text files suitable (with some tweaking) for a COPY command. I've
> got the original files... the .tbz I just made is 1.8 GB :) Anyone
have
> someplace they'd like me to drop it?

Just a note that the Z7 data set is really a uniform data set Z0.  The
generator only accepts skew in the range from Z0 to Z4.  The uniform,
Z0, data set is typically used when benchmarking data warehouses.

It turns out the data is not perfectly uniform as the top 100 suppliers
and products represent 2.3% and 1.5% of LineItem.  This is just enough
skew that the optimization will sometimes be triggered in the
multi-batch case (currently 1% skew is the cutoff).

I have posted a pg_dump of the TPCH 1G Z0 data set at:

http://people.ok.ubc.ca/rlawrenc/tpch1g0z.zip

(Note that ownership commands are in the dump and make sure to vacuum
analyze after the load.)  I can also post the input text files if that
is easier.

--
Ramon Lawrence


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: xpath processing brain dead
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Hot standby, recovery infra