Re: Hash Join cost estimates

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Hash Join cost estimates
Дата
Msg-id 20130405120824.GN4361@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Hash Join cost estimates  (Matthias <nitrogenycs@gmail.com>)
Список pgsql-hackers
* Matthias (nitrogenycs@gmail.com) wrote:
> >In this example, hashing the large table is actually 2 seconds *faster*
> >than hashing the small table (again, all on my laptop).
>
> Are you running the laptop on battery? When I've benchmarked pgsql
> last time I used my laptop as well and it only occured to me after a
> lot of trying that laptops (even with all energy saving disabled in
> my case) don't always make for reliable benchmark machines. Things
> like your CPU clockspeed being dynamically adjusted can produce
> really strange results.

Those runs were with the laptop plugged in, but I've also run it w/o the
battery and while the performance is certainly different between those
two cases, the relative speed of hashing vs. hash-lookup has been
consistent.  Also, that's why I provided the test case- feel free (and
please do!) test it on any/all hardware you can find.  I'd love to hear
reports from others on their experiences.  Also, the relative speeds on
my laptop runs matched the performance (the laptop was slower, but
slower in both paths in a comparable way) on the big server where this
is all originating.

> Of course your test case might not be affected by this at all, but
> it's something to watch out for.

Certainly.
Thanks,
    Stephen

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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: matview scannability rehash (was Re: Drastic performance loss in assert-enabled build in HEAD)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: corrupt pages detected by enabling checksums