Re: Performance improvements of INSERTs to a partitioned table

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Performance improvements of INSERTs to a partitioned table
Дата
Msg-id CAKJS1f9SepyZzmZrSCF8DBMtNvzouLYzbpeDULB4dZiG2BvVbw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Performance improvements of INSERTs to a partitioned table  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-hackers
On 9 November 2018 at 18:45, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> wrote:
> As long as queries involve tuple routing that touches multiple not yet
> seen partitions, someone doing conflicting operations directly on multiple
> partitions in a transaction will have to be ready to see deadlocks.
> Maybe, we can document that.

Perhaps it's good enough. A guess there's at least a workaround of
doing LOCK TABLE <root_partitioned_table> in the CREATE INDEX /
TRUNCATE session.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Skylake-S warning
Следующее
От: John Dent
Дата:
Сообщение: Re: Patch for Delta Materialized View Refreshes