Re: pgsql: autovacuum: handle analyze for partitioned tables

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Zhihong Yu <zyu(at)yugabyte(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: autovacuum: handle analyze for partitioned tables
Date: 2021-05-11 21:56:16
Message-ID: 20210511215616.GA13282@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 2021-Apr-23, Justin Pryzby wrote:

> On Thu, Apr 22, 2021 at 12:43:46PM -0500, Justin Pryzby wrote:
> >
> > I think that should probably have been written down somewhere other than for
> > the manual ANALYZE command, but in any case it seems to be outdated now.
>
> Starting with this

Agreed, we need some more docs here. I lightly edited yours and ended
up with this -- mostly I think partitioned tables should not be in the
same paragraph as legacy inheritance because the behavior is different
enough (partitioned tables are not analyzed twice).

I'll give a deeper look tomorrow to see if other places also need edits.

Thanks

--
Álvaro Herrera Valdivia, Chile

Attachment Content-Type Size
autoanalyze-doc.patch text/x-diff 3.1 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-05-11 23:17:16 pgsql: Fix vcregress.pl's ancient misspelling of --max-connections.
Previous Message noreply 2021-05-11 21:54:54 pgsql: Tag refs/tags/REL_13_3 was created

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2021-05-11 22:05:53 Re: Corrected documentation of data type for the logical replication message formats.
Previous Message Andrew Dunstan 2021-05-11 21:54:33 Re: Why do we have perl and sed versions of Gen_dummy_probes?