Re: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS
Дата
Msg-id 9558F0D3-4B5B-4CE2-A27F-156149E75916@elevated-dev.com
обсуждение исходный текст
Ответ на RE: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS  (Phani Prathyush Somayajula <phani.somayajula@pragmaticplay.com>)
Ответы Re: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS
Список pgsql-admin
> On May 22, 2023, at 1:02 AM, Phani Prathyush Somayajula <phani.somayajula@pragmaticplay.com> wrote:
>
> Hello!
> The following limitations apply to partitioned tables:
>     •
> To create a unique or primary key constraint on a partitioned table, the partition keys must not include any
expressionsor function calls and the constraint's columns must include all of the partition key columns. 

Your choices:

1) Deal with reality: have placedon as part of the primary key
2) don't partition on it, index placedon
3) don't partition on it, index (brandid, playerid, placedon)




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

Предыдущее
От: Priancka Chatz
Дата:
Сообщение: Re: RDS No free space
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS