Indexes that would span partitions.

Поиск
Список
Период
Сортировка
От Tim Uckun
Тема Indexes that would span partitions.
Дата
Msg-id CAGuHJrP+v-PNPpHgE5VcL3HHszH3cV86Hq3SM4Zzn_PBX6=d_g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Indexes that would span partitions.  (Michael Lewis <mlewis@entrata.com>)
Список pgsql-general
What's a good strategy for dealing with indexes (multiple) that would
span multiple partitions of a table.

For example:

Let's  say I have a table that's partitioned by group_id because I
want all the records for a group to be in the same partition. Let's
say I have a field called "expires_at" which is a date. Let's presume
the expiry date can be updated.

If I want to do something to every record that is due to be expired
the database is going to be touching practically every partition and
this seems like it could present a problem.

Is there a more efficient way to deal with something like this?



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

Предыдущее
От: benj.dev@laposte.net
Дата:
Сообщение: Re: delete query using CTE
Следующее
От: Арсен Арутюнян
Дата:
Сообщение: LISTEN/NOTIFY ultra slow speed