Re: [idea] table partition + hash join

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: [idea] table partition + hash join
Дата
Msg-id CA+HiwqHGSuW-uk6E615KaxcDc8VA2L2X269dbEvx2XB-8SYReg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [idea] table partition + hash join  (Rosiński Krzysztof 2 - Detal<Krzysztof.Rosinski2@orange.com>)
Список pgsql-hackers
On Wed, Jun 10, 2015 at 8:48 PM, Rosiński Krzysztof 2 - Detal
<Krzysztof.Rosinski2@orange.com> wrote:
> How to use this optimization ?
>
>
>
> select *
>
> from table join partitioned_table on (
>
>   table.part_id = partitioned_table.id
>
>   and hash_func_mod(table.part_id) = hash_func_mod(partitioned_table.id)
>
> )
>

If I read the proposed idea correctly, you wouldn't need to add that
second condition.

Thanks,
Amit



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: error message diff with Perl 5.22.0
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: minor issues in pg_rewind