| От | Tom Lane |
|---|---|
| Тема | Re: Very Large Table Partitioning |
| Дата | |
| Msg-id | 4393.1292614729@sss.pgh.pa.us обсуждение |
| Ответ на | Very Large Table Partitioning (Majid Azimi <majid.merkava@gmail.com>) |
| Ответы |
Re: Very Large Table Partitioning
|
| Список | pgsql-novice |
Majid Azimi <majid.merkava@gmail.com> writes:
> if we decide to partition table per user we have lots of tables (maybe
> more than 100000+) with only 10000 records each.
> is this a good idea? is there any limit for number of tables?
No, it's a fantastically bad idea. Please note the caveats in the
partitioning documentation --- the facility is not meant for more than
order-of-a-hundred partitions. Even if Postgres didn't have issues with
it, your filesystem might get ill with hundreds of thousands of files in
one directory.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера