Re: cluster on conditional index?

Поиск
Список
Период
Сортировка
От Doug Hunley
Тема Re: cluster on conditional index?
Дата
Msg-id CALxYTP6MS=ROY9QP4jdV+5krnNybakmUfMxsZDsRzJkBRi3NVA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: cluster on conditional index?  (Bosco Rama <postgres@boscorama.com>)
Список pgsql-performance
On Wed, Aug 15, 2012 at 5:19 PM, Bosco Rama <postgres@boscorama.com> wrote:
> On 08/15/12 14:05, Josh Berkus wrote:
>>
>>> That actually makes sense to me. Cluster the rows covered by that
>>> index, let the rest fall where they may. I'm typically only accessing
>>> the rows covered by that index, so I'd get the benefit of the cluster
>>> command but wouldn't have to spend cycles doing the cluster for rows I
>>> don't care about.
>>
>> Sure, that's a feature request though.  And thinking about it, I'm
>> willing to bet that it's far harder to implement than it sounds.

How/where does file feature requests?

>>
>> In the meantime, you could ad-hoc this by splitting the table into two
>> partitions and clustering one of the two partitions.
>
> Wouldn't creating a second index on the boolean itself and then clustering
> on that be much easier?

that's what I was looking into doing actuallly

--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd                                               Web:
douglasjhunley.com
G+: http://goo.gl/sajR3


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: High Disk write and space taken by PostgreSQL
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: High Disk write and space taken by PostgreSQL