Re: document the need to analyze partitioned tables
Tomas Vondra <tomas.vondra@enterprisedb.com>
From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Justin Pryzby <pryzby@telsasoft.com>, Robert Haas <robertmhaas@gmail.com>
Cc: Álvaro Herrera <alvherre@alvh.no-ip.org>, yuzuko <yuzukohosoya@gmail.com>, pgsql-hackers@postgresql.org
Date: 2022-03-28T13:05:26Z
Lists: pgsql-hackers
On 3/16/22 00:00, Justin Pryzby wrote: > On Mon, Mar 14, 2022 at 05:23:54PM -0400, Robert Haas wrote: >> On Fri, Jan 21, 2022 at 1:31 PM Tomas Vondra <tomas.vondra@enterprisedb.com> wrote: >>> [ new patch ] >> >> This patch is originally by Justin. The latest version is by Tomas. I >> think the next step is for Justin to say whether he's OK with the >> latest version that Tomas posted. If he is, then I suggest that he >> also mark it Ready for Committer, and that Tomas commit it. If he's >> not, he should say what he wants changed and either post a new version >> himself or wait for Tomas to do that. > > Yes, I think it can be Ready. Done. > > I amended some of Tomas' changes (see 0003, attached as txt). > > @cfbot: the *.patch file is for your consumption, and the others are only there > to show my changes. > >> I think the fact that is classified as a "Bug Fix" in the CommitFest >> application is not particularly good. I would prefer to see it >> classified under "Documentation". I'm prepared to concede that >> documentation can have bugs as a general matter, but nobody's data is >> getting eaten because the documentation wasn't updated. In fact, this >> is the fourth patch from the "bug fix" section I've studied this >> afternoon, and, well, none of them have been back-patchable code >> defects. > > In fact, I consider this to be back-patchable back to v10. IMO it's an > omission that this isn't documented. Not all bugs cause data to be eaten. If > someone reads the existing documentation, they might conclude that their > partitioned tables don't need to be analyzed, and they would've been better > served by not reading the docs. > I've pushed the last version, and backpatched it to 10 (not sure I'd call it a bugfix, but I certainly agree with Justin it's worth mentioning in the docs, even on older branches). regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
doc: Fix typo in ANALYZE documentation
- c5479178441e 14.3 landed
- c3a587994a01 12.11 landed
- a5d4a3850fa8 11.16 landed
- 8421a99ca189 13.7 landed
- 4e31c46e1e7b 15.0 landed
- 3b6d2b460b5a 10.21 landed
-
Document autoanalyze limitations for partitioned tables
- c1e9cfaef975 10.21 landed
- 0fc2455edbda 11.16 landed
- b36c27191324 12.11 landed
- 78ebfd885be5 13.7 landed
- 6b262f353ef7 14.3 landed
- 61fa6ca79b3c 15.0 landed
-
Revert analyze support for partitioned tables
- 6f8127b73901 15.0 cited
-
Describe (auto-)analyze behavior for partitioned tables
- 1b5617eb844c 14.0 cited