[ADMIN] Partitions

Поиск
Список
Период
Сортировка
От Günce Kaya
Тема [ADMIN] Partitions
Дата
Msg-id CAAV2-mVsyqZhqQCykRkcEL2L_DFh9sJHN8o-mPUrBDDZQ-=BLA@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
Hello,

We have a large table and we use partition on that table. We keep data as monthly with partitions so partitions check date fields. I'm confused about adding second partition on same table but for check different field like state(character varying). By the way this partitions which check date has index for state column. 

When a query run first check partitions. Sometimes it is really make slow queries than we expect. We want to get query check first state field during running that query. In brief we would like to prioritise this.

Can we separate partition structure for instance partitions for date and partitions for state on same table?

I'm not sure it is reasonable? Is there anyone performed this scenario?

Regards,
Gunce Kaya

В списке pgsql-admin по дате отправления:

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: [ADMIN] Bad recovery: no pg_xlog/RECOVERYXLOG
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [ADMIN] Bad recovery: no pg_xlog/RECOVERYXLOG