Re: vacuumdb changes for stats import/export - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: vacuumdb changes for stats import/export
Date
Msg-id Z9HhrtaZyFgMvJsM@nathan
Whole thread Raw
In response to Re: vacuumdb changes for stats import/export  (John Naylor <johncnaylorls@gmail.com>)
Responses Re: vacuumdb changes for stats import/export
List pgsql-hackers
On Wed, Mar 12, 2025 at 01:56:04PM +0700, John Naylor wrote:
> The change here seems fine. My only quibble is that this sentence now
> seems out of place: "Option --analyze-in-stages can be used to
> generate minimal statistics quickly." I'm thinking we should make a
> clearer separation for with and without the  --no-statistics option
> specified.

I think the recommendation stays the same regardless of whether
--no-statistics was used.  --missing-only should do the right think either
way.  But I do agree that this paragraph feels a bit haphazard.  I modified
it to call out the full command for both --analyze-only and
--analyze-in-stages, and I moved the note about --jobs to its own sentence
and made it clear that it is applicable to both of the suggested vacuumdb
commands.

-- 
nathan

Attachment

pgsql-hackers by date:

Previous
From: Alexander Borisov
Date:
Subject: Re: Optimization for lower(), upper(), casefold() functions.
Next
From: Alena Rybakina
Date:
Subject: Re: Vacuum statistics