Re: [HACKERS] [POC] hash partitioning

Поиск
Список
Период
Сортировка
Искать
От
Ashutosh Bapat
Тема
Re: [HACKERS] [POC] hash partitioning
Дата
Msg-id
CAFjFpRdMcV4ZDiZFesYNs7aX1GsPjGyBHqCGMEJqSkknFX=jdw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] [POC] hash partitioning "yangjie@highgo.com" <yangjie@highgo.com>
Re: [HACKERS] [POC] hash partitioning Yugo Nagata <nagata@sraoss.co.jp>
Re: [HACKERS] [POC] hash partitioning yangjie <yangjie@highgo.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] [POC] hash partitioning Thom Brown <thom@linux.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] [POC] hash partitioning Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: [HACKERS] [POC] hash partitioning Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Andres Freund <andres@anarazel.de>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Andres Freund <andres@anarazel.de>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Andres Freund <andres@anarazel.de>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Andres Freund <andres@anarazel.de>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: [HACKERS] [POC] hash partitioning Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: [HACKERS] [POC] hash partitioning Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning amul sul <sulamul@gmail.com>
Re: [HACKERS] [POC] hash partitioning David Fetter <david@fetter.org>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] [POC] hash partitioning Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [POC] hash partitioning Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>
On Tue, Oct 10, 2017 at 3:32 PM, amul sul  wrote:

>> +                                    hash_part? true : key->parttypbyval[j],
>> +                                    key->parttyplen[j]);
>> parttyplen is the length of partition key attribute, whereas what you want here
>> is the length of type of modulus and remainder. Is that correct? Probably we
>> need some special handling wherever parttyplen and parttypbyval is used e.g. in
>> call to partition_bounds_equal() from build_joinrel_partition_info().
>>
>
> Unless I am missing something, I don't think we should worry about parttyplen
> because in the datumCopy() when the datatype is pass-by-value then typelen
> is ignored.

That's true, but it's ugly, passing typbyvalue of one type and len of other.

-- 
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: amul sul
Дата:
От: Ashutosh Bapat
Дата:
FAQ