Re: suggestion about time based partitioning and hibernate
В списке pgsql-general по дате отправления:
| От | Ron |
|---|---|
| Тема | Re: suggestion about time based partitioning and hibernate |
| Дата | |
| Msg-id | f442c75b-49b3-e273-eefc-1641c04d6f7d@gmail.com обсуждение |
| Ответ на | Re: suggestion about time based partitioning and hibernate (Luca Ferrari <fluca1978@gmail.com>) |
| Список | pgsql-general |
On 7/20/23 10:31, Luca Ferrari wrote: > On Wed, Jul 19, 2023 at 6:45 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote: >> Therefore I suggest to avoid doing >> that. Either look at some other partitioning scheme that doesn't >> involve adding columns to the primary key, or disregard partitioning for >> this table entirely. > What do you mean by "other partitioning scheme"? There is nothing that > comes into my mind at the moment. > The problem is that, unluckily, the table is already greater than 50GB > in seize and is keep growing, so I guess something has to be done, at > least for a manainance point of view. > > Would a partition by hash on the single column primary key be such a bad idea? Just do a range partition by the existing PK. -- Born in Arizona, moved to Babylonia.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера