From dd484c97f55be8336fcb41470768c5b8ae347d13 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 26 Nov 2021 14:42:15 -0300 Subject: [PATCH] Copy-edit vacuuumdb --analyze-in-stages doc blurb I had made a few typos, and Nikolai Berkoff made a wording change suggestion. Discussion: https://postgr.es/m/VMwe7-sGegrQPQ7fJjSCdsEbESKeJFOb6G4DFxxNrf45I7DzHio7sNUH88wWRMnAy5a5G0-FB31dxPM47ldigW6WdiCPncHgqO9bNl6F240=@pm.me --- doc/src/sgml/ref/vacuumdb.sgml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml index d8cbf0e189..956c0f01cb 100644 --- a/doc/src/sgml/ref/vacuumdb.sgml +++ b/doc/src/sgml/ref/vacuumdb.sgml @@ -397,7 +397,7 @@ PostgreSQL documentation Only calculate statistics for use by the optimizer (no vacuum), - like . Run several (currently three) + like . Run three stages of analyze; the first stage uses the lowest possible statistics target (see ) to produce usable statistics faster, and subsequent stages build the @@ -405,10 +405,10 @@ PostgreSQL documentation - This option is only useful to analyze a database that current has - no statistics or wholly incorrect ones, such as if it is newly + This option is only useful to analyze a database that currently has + no statistics or has wholly incorrect ones, such as if it is newly populated from a restored dump or by pg_upgrade. - Be aware that running this option in a database with existing + Be aware that running with this option in a database with existing statistics may cause the query optimizer choices to become transiently worse due to the low statistics targets of the early stages.