Re: Speeding up INSERTs and UPDATEs to partitioned tables

Поиск
Список
Период
Сортировка
Искать
От
David Rowley
Тема
Re: Speeding up INSERTs and UPDATEs to partitioned tables
Дата
Msg-id
CAKJS1f-tpnAKi8G8qDJdnJOZqQG5Vea+Rtkr8QoVAQg=gaFRhw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Robert Haas <robertmhaas@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <amitlangote09@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <amitlangote09@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Michael Paquier <michael@paquier.xyz>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Robert Haas <robertmhaas@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Krzysztof Nienartowicz <krzysztof.nienartowicz@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Krzysztof Nienartowicz <krzysztof.nienartowicz@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Krzysztof Nienartowicz <krzysztof.nienartowicz@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Krzysztof Nienartowicz <krzysztof.nienartowicz@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Krzysztof Nienartowicz <krzysztof.nienartowicz@gmail.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Tom Lane <tgl@sss.pgh.pa.us>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
RE: Speeding up INSERTs and UPDATEs to partitioned tables "Kato, Sho" <kato-sho@jp.fujitsu.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
RE: Speeding up INSERTs and UPDATEs to partitioned tables "Kato, Sho" <kato-sho@jp.fujitsu.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables Alvaro Herrera <alvherre@2ndquadrant.com>
RE: Speeding up INSERTs and UPDATEs to partitioned tables "Kato, Sho" <kato-sho@jp.fujitsu.com>
Re: Speeding up INSERTs and UPDATEs to partitioned tables David Rowley <david.rowley@2ndquadrant.com>
On 1 November 2018 at 06:45, Robert Haas  wrote:
> On Wed, Aug 22, 2018 at 8:30 AM David Rowley
>  wrote:
>> On 22 August 2018 at 19:08, Amit Langote  wrote:
>> > +#define PartitionTupRoutingGetToParentMap(p, i) \
>> > +#define PartitionTupRoutingGetToChildMap(p, i) \
>> >
>> > If the "Get" could be replaced by "Child" and "Parent", respectively,
>> > they'd sound more meaningful, imho.
>>
>> I did that to save 3 chars.  I think putting the additional
>> Child/Parent in the name is not really required. It's not as if we're
>> going to have a ParentToParent or a ChildToChild map, so I thought it
>> might be okay to assume that if it's "ToParent", that it's being
>> converted from the child and "ToChild" seems safe to assume it's being
>> converted from the parent. I can change it though if you feel very
>> strongly that what I've got is no good.
>
> I'm not sure exactly what is best here, but it seems to unlikely to me
> that somebody is going to read that macro name and think, oh, that
> means "get the to-parent map".  They are more like be confused by the
> juxtaposition of "get" and "to".
>
> I think a better way to shorten the name would be to truncate the
> PartitionTupRouting() prefix in some way, e.g. dropping TupRouting.

Thanks for chipping in on this.

I agree. I don't think "TupRouting" really needs to be in the name.
Probably "To" can also just become "2" and we can put back the
Parent/Child before that.

I've attached v11, which does this.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Michael Paquier
Дата:
Сообщение: Re: INSTALL file
FAQ