From: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: CLUSTER vs. VACUUM FULL |
Date: | 2024-04-22 21:35:57 |
Message-ID: | CANzqJaDnZutXz9-T2_7OMofTHVk6mfnOW_gLJhDdNiUFtbyGMg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Apr 22, 2024 at 5:03 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:
> On 4/22/24 13:59, Ron Johnson wrote:
> > On Mon, Apr 22, 2024 at 4:21 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> > <mailto:adrian(dot)klaver(at)aklaver(dot)com>> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Atul Kumar | 2024-04-22 21:37:32 | Re: issue with reading hostname |
Previous Message | Ron Johnson | 2024-04-22 21:11:22 | Re: issue with reading hostname |