Re: Not able to purge partition

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Not able to purge partition
Дата
Msg-id 16b303b8cc44eece159d144cf483517c99c61f2a.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Not able to purge partition  (veem v <veema0000@gmail.com>)
Ответы Re: Not able to purge partition
Список pgsql-general
On Sat, 2024-03-23 at 22:41 +0530, veem v wrote:
> 1)As we see having foreign key defined is making the detach partition run
>   for minutes(in our case 5-10minutes for 60 million rows partition), so
>   how to make the parent table partition detach and drop work fast in such
>   a scenario while maintaining the foreign key intact?

I told you: don't do it.
Instead, use foreign keys between the partitions.

Yours,
Laurenz Albe



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

Предыдущее
От: veem v
Дата:
Сообщение: Re: Not able to purge partition
Следующее
От: veem v
Дата:
Сообщение: Re: Not able to purge partition