Re: Dynamic creation of list partitions in highly concurrent write environment
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Dynamic creation of list partitions in highly concurrent write environment |
| Дата | |
| Msg-id | 3807.1685626337@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Dynamic creation of list partitions in highly concurrent write environment (Jim Vanns <jvanns@ilm.com>) |
| Ответы |
Re: Dynamic creation of list partitions in highly concurrent write environment
|
| Список | pgsql-general |
Jim Vanns <jvanns@ilm.com> writes:
> Here's the general approach we have, without code and with hypothetical
> model, since I'm writing this hastily;
> table devices; <-- After trigger on here
> table routes; <-- To create physical partition for this logical table
> table route_for_device_N; <-- The dynamically created partition
> We don't know the device names and thus partitions up front, hence the need
> for dynamic creation. How do you go about doing this or is it folly!?
Sounds like folly, TBH. You're going to end with a ridiculous number
of partitions of the routes table, which will not be good for performance.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера