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

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS
Дата
Msg-id a9aa4d47-9db8-0da8-641c-67ea8fbe893c@gmail.com
обсуждение исходный текст
Ответ на 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 5/22/23 01:53, Phani Prathyush Somayajula wrote:
@font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face {font-family:"Book Antiqua"; panose-1:2 4 6 2 5 3 5 3 3 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-ligatures:standardcontextual; mso-fareast-language:EN-US;}span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Book Antiqua",serif; color:windowtext; font-weight:normal; font-style:normal;}.MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;}div.WordSection1 {page:WordSection1;}

Hi All,

 

I’ve a table ermabet having 80mil records. My business need is to check the bet placed by a player(users), which queries the table, and enable streaming for the player only if he has placed his bet in the last 24 hrs( granular to the millisecond).

[snip]
 

 

But I don’t want PLACEDON column part of the primary key.


And I didn't want partition_date in my PK, either, but I had to add so as to partition on the part_date column.

--
Born in Arizona, moved to Babylonia.

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

Предыдущее
От: Phani Prathyush Somayajula
Дата:
Сообщение: RE: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS
Следующее
От: Ron
Дата:
Сообщение: Re: Partition By Range Without PrimaryKey : Postgresql Version 12.8 on AWS RDS