Re: ANALYZE ONLY
torikoshia <torikoshia@oss.nttdata.com>
From: torikoshia <torikoshia@oss.nttdata.com>
To: Michael Harris <harmic@gmail.com>
Cc: David Rowley <dgrowleyml@gmail.com>, Melih Mutlu
<m.melihmutlu@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL-development <pgsql-hackers@postgresql.org>, Robert Haas
<robertmhaas@gmail.com>, postgres@jeltef.nl, ilya.evdokimov@tantorlabs.com
Date: 2024-09-10T12:03:40Z
Lists: pgsql-hackers
On 2024-09-09 16:56, Michael Harris wrote: Thanks for updating the patch. Here is a minor comment. > @@ -944,20 +948,32 @@ expand_vacuum_rel(VacuumRelation *vrel, > MemoryContext vac_context, > MemoryContextSwitchTo(oldcontext); > } .. > + * Unless the user has specified ONLY, make relation list > entries for > + * its partitions and/or descendant tables. Regarding the addition of partition descendant tables, should we also update the below comment on expand_vacuum_rel? Currently it refers only partitions: | * Given a VacuumRelation, fill in the table OID if it wasn't specified, | * and optionally add VacuumRelations for partitions of the table. Other than this and the following, it looks good to me. On Mon, Sep 9, 2024 at 10:27 AM David Rowley <dgrowleyml@gmail.com> wrote: > Aside from those, that just leaves me with the behavioural change. I > noted Tom was ok with the change in behaviour for ANALYZE (mentioned > in [1]). Tom, wondering if you feel the same for VACUUM too? If we're > doing this, I think we'd need to be quite clear about it on the > release notes. -- Regards, -- Atsushi Torikoshi NTT DATA Group Corporation
Commits
-
Add ONLY support for VACUUM and ANALYZE
- 62ddf7ee9a39 18.0 landed