Re: Speeding up INSERTs and UPDATEs to partitioned tables

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: Speeding up INSERTs and UPDATEs to partitioned tables
Дата
Msg-id
20181114181050.6l3lgrxg5bterpkh@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
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>
What's with this comment?

	 * Initially we must only set up 1 PartitionDispatch object; the one for
	 * the partitioned table that's the target of the command.  If we must
	 * route a tuple via some sub-partitioned table, then its
	 * PartitionDispatch is only built the first time it's required.

You're setting the allocsize to PARTITION_ROUTING_INITSIZE, which is at
odds with the '1' mentioned in the comment.  Which is wrong?

(I have a few edits on the patch, so please don't send a full v18 -- a
delta patch would be welcome, if you have further changes to propose.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

В списке pgsql-hackers по дате отправления
От: Daniel Verite
Дата:
От: James Coleman
Дата:
FAQ