| От | Tom Lane |
|---|---|
| Тема | Re: Related To Hash Partition |
| Дата | |
| Msg-id | 3840294.1682262454@sss.pgh.pa.us обсуждение |
| Ответ на | Related To Hash Partition (ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>) |
| Ответы |
Re: Related To Hash Partition
|
| Список | pgsql-admin |
ROHIT SACHDEVA <sachdeva.rohit648@gmail.com> writes:
> While using hash partition i am facing the problem that the data is not
> going into the proper partition table .
Define "proper". It's generally best to assume that the hash function
is a black box --- if you assume you know which partition a given key
value will be mapped to, you are doing something very fragile, and people
will have no sympathy for you when it breaks.
If you want a predictable mapping, use list or range partitioning,
not hash.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера