Re: Creating foreign key on partitioned table is too slow

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Creating foreign key on partitioned table is too slow
Дата
Msg-id 20191024184857.GA14525@alvherre.pgsql
обсуждение исходный текст
Ответ на Creating foreign key on partitioned table is too slow  ("kato-sho@fujitsu.com" <kato-sho@fujitsu.com>)
Ответы Re: Creating foreign key on partitioned table is too slow  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
On 2019-Oct-23, kato-sho@fujitsu.com wrote:

> Hello
> 
> To benchmark with tpcb model, I tried to create a foreign key in the partitioned history table, but backend process
killedby OOM.
 
> the number of partitions is 8192. I tried in master(commit: ad4b7aeb84).
> 
> I did the same thing in another server which has 200GB memory, but creating foreign key did not end in 24 hours.

Thanks for reporting.  It sounds like there must be a memory leak here.
I am fairly pressed for time at present so I won't be able to
investigate this until, at least, mid November.

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



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

Предыдущее
От: James Coleman
Дата:
Сообщение: Re: Consider low startup cost in add_partial_path
Следующее
От: Alex Adriaanse
Дата:
Сообщение: TOAST corruption in standby database