Re: Improving estimates for TPC-H Q2

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: Improving estimates for TPC-H Q2
Дата
Msg-id 20200508200426.ct4l5xl4zpnb7hlc@development
обсуждение исходный текст
Ответ на Re: Improving estimates for TPC-H Q2  (Matt Daw <matt@mattdaw.com>)
Список pgsql-hackers
On Fri, May 08, 2020 at 07:58:39AM -0400, Matt Daw wrote:
>Hi Tomas, there’s an interesting related paper in the April 2020 PVLDB,
>“Quantifying TPC-H Choke Points and Their Optimizations”:
>http://www.vldb.org/pvldb/vol13/p1206-dreseler.pdf.
>

Thanks.

Seems like an interesting and new paper, although it seems to focus more
on execution than planning, i.e. it discusses execution strategies but
not how to pick the right plan.

E.g. the Q2 might also be rewritten to compute the whole subplan only
once for all ps_partkey values, and then used for lookup (instead of
running it over and over for each ps_partkey value).

But this still depends on us being able to decide between those two
strategies, which relies on good estimates :-(


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: src/test/perl/TestLib.pm: check_pg_config needs/usr/include/postgresql/pg_config.h
Следующее
От: Tom Lane
Дата:
Сообщение: Back-branch minor release notes are up for review