pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Demitri Muna <postgresql@demitri.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: CLUSTER, VACUUM, and TABLESPACEs (oh my)
Date: Sun, 24 Jan 2021 21:27:00 -0500
Message-ID: <7C25659B-FAD1-421E-8617-62793147FBE0@demitri.com> (raw)
In-Reply-To: <CAECtzeXdWYR4ps1o0h=ga6y7_FWTuooz2OKS0OXKqEUVOCr+PA@mail.gmail.com>
References: <959B953F-6882-4ED1-A560-4B0335C39CFD@demitri.com>
	<CAECtzeWKXd0b_Kk-HR5E-B0_yk5SAV3eydg0Gv5qeF2pJcJU8g@mail.gmail.com>
	<418a37cf-df5b-2264-784c-009d38cddbde@gmail.com>
	<CAECtzeXdWYR4ps1o0h=ga6y7_FWTuooz2OKS0OXKqEUVOCr+PA@mail.gmail.com>


> On Jan 24, 2021, at 9:03 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
> 
>> VACUUM FULL unclusters the table??
> 
> It will rebuild the table without sorting the data according to the index used with CLUSTER (without any sorting actually).

Thank you for the clarification; that’s very helpful. For the case above. If I CLUSTER a table, add/delete no rows, then VACUUM, will the existing order remain or be changed?

Demitri




view thread (6+ messages)  latest in thread

Message-ID: <7C25659B-FAD1-421E-8617-62793147FBE0@demitri.com>
Permalink:  ../7C25659B-FAD1-421E-8617-62793147FBE0@demitri.com/
Also on:    postgresql.org/message-id/7C25659B-FAD1-421E-8617-62793147FBE0@demitri.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: postgresql@demitri.com
  Subject: Re: CLUSTER, VACUUM, and TABLESPACEs (oh my)
  In-Reply-To: <7C25659B-FAD1-421E-8617-62793147FBE0@demitri.com>
  References: <959B953F-6882-4ED1-A560-4B0335C39CFD@demitri.com> <CAECtzeWKXd0b_Kk-HR5E-B0_yk5SAV3eydg0Gv5qeF2pJcJU8g@mail.gmail.com> <418a37cf-df5b-2264-784c-009d38cddbde@gmail.com> <CAECtzeXdWYR4ps1o0h=ga6y7_FWTuooz2OKS0OXKqEUVOCr+PA@mail.gmail.com> <7C25659B-FAD1-421E-8617-62793147FBE0@demitri.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox