public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ron Johnson <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: CLUSTER vs. VACUUM FULL
Date: Mon, 22 Apr 2024 17:35:57 -0400
Message-ID: <CANzqJaDnZutXz9-T2_7OMofTHVk6mfnOW_gLJhDdNiUFtbyGMg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CANzqJaD8o0UuK42F==BXZA=L380n=aXt+VJ93PN3waFbNhZHBg@mail.gmail.com>
<[email protected]>
<CANzqJaBvcGKdhqaZz+b0jNc8WLK74UCDW+zk=Ja78duOjWUBRA@mail.gmail.com>
<CAApHDvraS7EkYZsgZnAWc-L4_jbie5UkPAtedKSqN6s1j+PJiQ@mail.gmail.com>
<CAB-JLwYPrJpYGqsQFDpiMf6UFKeT1zwagabdb-2V3x0G8DqNPQ@mail.gmail.com>
<[email protected]>
<CANzqJaDocQZNhD8CpGS7ae82tVeuL5-reoKy0_Y6=RKuTh6qwQ@mail.gmail.com>
<CAKFQuwYFHCf+cd=wxJmzRqezQKy8rAKv2_QyvipzE1qboBXXvw@mail.gmail.com>
<CANzqJaConAabzE942KSQV2BtZdBaEjvY9Cz_A8xvwrgauUX=zA@mail.gmail.com>
<[email protected]>
<CANzqJaDtterO9DEswkJOpgpizjLchYK7jOiJ0Pct0TEuc4Wv3g@mail.gmail.com>
<[email protected]>
<CANzqJaCNn-Pd9Zyi4KvxbZ9qqR-ND9gUk1wgHKKYtxe0z7vh=w@mail.gmail.com>
<[email protected]>
On Mon, Apr 22, 2024 at 5:03 PM Adrian Klaver <[email protected]>
wrote:
> On 4/22/24 13:59, Ron Johnson wrote:
> > On Mon, Apr 22, 2024 at 4:21 PM Adrian Klaver <[email protected]
> > <mailto:[email protected]>> wrote:
> > [snip]
> >
> > Which gets us back to your comment upstream:
> >
> > "What the VACUUM docs "should" do, it seems, is suggest CLUSTER on
> the
> > PK, if the PK is a sequence (whether that be an actual sequence, or a
> > timestamp or something else that grows monotonically)."
> >
> > This is a case specific to you and this particular circumstance, not
> a
> > general rule for VACUUM FULL. If for no other reason then it might
> make
> > more sense for the application that the CLUSTER be done on some other
> > index then the PK.
> >
> >
> > On Stack Exchange, I've got a question on how to determine when to run
> > CLUSTER. It ties in strongly with this thread..
> >
>
> And the link is?
>
Sorry. Got distracted by the answer.
https://dba.stackexchange.com/questions/338870/when-to-rerun-cluster
view thread (20+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: CLUSTER vs. VACUUM FULL
In-Reply-To: <CANzqJaDnZutXz9-T2_7OMofTHVk6mfnOW_gLJhDdNiUFtbyGMg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox