Re: CLUSTERing a partition? - Mailing list pgsql-admin

From Matheus de Oliveira
Subject Re: CLUSTERing a partition?
Date
Msg-id CAJghg4+_9Emw_CRFVwQs47JAyLoSaVA1p8TYiQ46pJLcXuzr+Q@mail.gmail.com
Whole thread Raw
In response to CLUSTERing a partition?  (Dave Johansen <davejohansen@gmail.com>)
List pgsql-admin

On Fri, Mar 13, 2015 at 8:33 PM, Dave Johansen <davejohansen@gmail.com> wrote:
So is there some way that I can CLUSTER a partition? I would be fine with removing the partition while the CLUSTER is happening, if that makes it possible.

You can remove the partition first (with NO INHERIT), this will indeed cause a lock on the parent, but that should be really fast.

Then you can CLUSTER it, and latter re-add it as child.

Regards,
--
Matheus de Oliveira
Analista de Banco de Dados
Dextra Sistemas - MPS.Br nível F!
www.dextra.com.br/postgres

pgsql-admin by date:

Previous
From: "Ruth Melendo"
Date:
Subject: Re: pgpool + BDR, is it possible?
Next
From: "Denilson Guedes Duarte"
Date:
Subject: Parâmetros para melhor performance do servidor