Re: Autovacuum on partitioned table (autoanalyze)

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: yuzuko <yuzukohosoya(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, David Steele <david(at)pgmasters(dot)net>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Amit Langote <amitlangote09(at)gmail(dot)com>, Masahiko Sawada <masahiko(dot)sawada(at)2ndquadrant(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Greg Stark <stark(at)mit(dot)edu>
Subject: Re: Autovacuum on partitioned table (autoanalyze)
Date: 2021-04-08 21:56:25
Message-ID: 20210408215625.GA17048@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021-Apr-08, Justin Pryzby wrote:

> commit 0827e8af70f4653ba17ed773f123a60eadd9f9c9
> | This also introduces necessary reloptions support for partitioned tables
> | (autovacuum_enabled, autovacuum_analyze_scale_factor,
> | autovacuum_analyze_threshold). It's unclear how best to document this
> | aspect.
>
> At least this part needs to be updated - see also ed62d3737.
>
> doc/src/sgml/ref/create_table.sgml- The storage parameters currently
> doc/src/sgml/ref/create_table.sgml- available for tables are listed below.
> ...
> doc/src/sgml/ref/create_table.sgml: Specifying these parameters for partitioned tables is not supported,
> doc/src/sgml/ref/create_table.sgml- but you may specify them for individual leaf partitions.

Ah, thanks for pointing it out. How about the attached?

This new bit reads weird:

+ Most parameters are not supported on partitioned tables, with exceptions
+ noted below; you may specify them for individual leaf partitions.

Maybe "Most parameters are not supported on partitioned tables, with
exceptions noted below; you may specify others for individual leaf
partitions."

--
Álvaro Herrera 39°49'30"S 73°17'W

Attachment Content-Type Size
0001-document-reloptions-for-partitioned-tables.patch text/x-diff 2.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2021-04-08 22:00:42 Re: Autovacuum on partitioned table (autoanalyze)
Previous Message Justin Pryzby 2021-04-08 21:38:13 Re: [PATCH] force_parallel_mode and GUC categories