Re: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS
В списке pgsql-admin по дате отправления:
| От | Scott Ribe |
|---|---|
| Тема | Re: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS |
| Дата | |
| Msg-id | 5F09A2FE-117F-47D4-B78B-25023A02AFB7@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 8:07 AM, Phani Prathyush Somayajula <phani.somayajula@pragmaticplay.com> wrote: > > However, since I was telling other ripple effects, we're trying to test creating subpartitions by placedon and partitionsby brandid like below. > The reason being : we'll have to archive or purge the data post 90 days. You could still partition by placedon... Partitioning by brandid is not much help with rotating out old data. Why the change in primary key? In fact, your primary key in that example is not guaranteed unique--if I'm reading this correctlythere is a chance of collision. What's wrong with partitioning by placedon, with a primary key of (betid, placedon)?
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера