Re: the number of child tables --table partitioning

Поиск
Список
Период
Сортировка
Искать
От
Merlin Moncure
Тема
Re: the number of child tables --table partitioning
Дата
Msg-id
CAHyXU0zy0A8Wwk5CYpr9-FXjKQhZ7Zq29TqO+cQWRvk-dwgFzw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
the number of child tables --table partitioning Jian Shi <jshi@unitrends.com>
Re: the number of child tables --table partitioning "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: the number of child tables --table partitioning Ondrej Ivanič <ondrej.ivanic@gmail.com>
Re: the number of child tables --table partitioning Merlin Moncure <mmoncure@gmail.com>
Re: the number of child tables --table partitioning alexandre - aldeia digital <adaldeia@gmail.com>
2011/9/29 Ondrej Ivanič :
> Hi,
>
> On 30 September 2011 01:08, Kevin Grittner  wrote:
>>> Is there a suggested number of child tables for table
>>> partitioning,
>>
>> Generally, don't go over about 100 partitions per table.
>
> Having 365 partitions per table is fine...

yeah -- the system was certainly designed to support 'dozens to
hundreds', but 'hundreds of thousands' is simply not realistic.  any
measurable benefit gained from partitioning is going to be var
exceeded by the database having to track so many tables.

btw, partitioning for purposes of performance is a dubious strategy
unless you can leverage non-uniform access patterns of the data or do
other tricks that allow simplification of structures (like removing
'company_id' from all tables and indexes because it's implied by the
partition itself).

merlin
В списке pgsql-performance по дате отправления
От: pasman pasmański
Дата:
От: alexandre - aldeia digital
Дата:
FAQ