Re: 8.3RC2 vs 8.2.6 testing results

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: 8.3RC2 vs 8.2.6 testing results
Дата
Msg-id e51f66da0801282345s16d9d128n227dc33c41a3c0cf@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 8.3RC2 vs 8.2.6 testing results  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 1/29/08, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Vlad <marchenko@gmail.com> writes:
> > 2. We ran several tests and found 8.3 generally 10% slower than 8.2.6.
>
> The particular case you are showing here seems to be all about the speed
> of hash aggregation --- at least the time differential is mostly in the
> HashAggregate step.  What is the data type of a_id?  I speculate that
> you're noticing the slightly slower/more complicated hash function that
> 8.3 uses for integers.  On a case where the data was well distributed
> you'd not see any countervailing efficiency gain from those extra
> cycles.

AFAIK we have a plan to update string hash in 8.4 to fastest
available (Jenkins lookup3).  Maybe we should update integer
hash too then to the best:

 http://www.cris.com/~Ttwang/tech/inthash.htm

("32 bit Mix Functions" is the one).

--
marko

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: 8.3RC2 vs 8.2.6 testing results
Следующее
От: Håkan Jacobsson
Дата:
Сообщение: Re: Getting the count(*) from two tables and two date ranges in same query