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
обсуждение исходный текст
Ответ на Re: the number of child tables --table partitioning  (Ondrej Ivanič <ondrej.ivanic@gmail.com>)
Ответы Re: the number of child tables --table partitioning  (alexandre - aldeia digital <adaldeia@gmail.com>)
Список pgsql-performance
2011/9/29 Ondrej Ivanič <ondrej.ivanic@gmail.com>:
> Hi,
>
> On 30 September 2011 01:08, Kevin Grittner <Kevin.Grittner@wicourts.gov> 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
Дата:
Сообщение: Re: Shortcutting too-large offsets?
Следующее
От: alexandre - aldeia digital
Дата:
Сообщение: Re: the number of child tables --table partitioning