Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5hXy-0000LM-0Z for pgsql-docs@arkaria.postgresql.org; Fri, 28 Sep 2018 01:26:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g5hXv-00005d-UO for pgsql-docs@arkaria.postgresql.org; Fri, 28 Sep 2018 01:26:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5hXv-00005V-Hd for pgsql-docs@lists.postgresql.org; Fri, 28 Sep 2018 01:26:19 +0000 Received: from mail-vs1-xe42.google.com ([2607:f8b0:4864:20::e42]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g5hXt-0007Kv-27 for pgsql-docs@lists.postgresql.org; Fri, 28 Sep 2018 01:26:18 +0000 Received: by mail-vs1-xe42.google.com with SMTP id y11-v6so2656075vso.5 for ; Thu, 27 Sep 2018 18:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jGC9L+7pxXyU36KbgW4EZBcBVpHS+cdKMiiEWJboxsg=; b=gsGAFNSfYznqFcQ6oXBlOToklGAfTxMjTdJ0Ci1ypP7OKchceu2DZsryRIXYVnDjw3 u5O67vk9FHqeU2dKGulIfKm0f8fGAPARoUVfShh/oOah4UDVtldLVmIZg1bUq6MfpQu7 Lv1J0xHQOVVlnnnMsx7AYUJEPdl6/+ZEMCcWhoC1HPipqCwCHDdBsqXh9ME8kDBRKggC wWZnx1M2xjfx2LlPki/UTO6fo8wkyKEsTIheDPvGNjEg10b92Erqu2y9MQwnIIegssUN Mb8T1dtofb/Q+++gljnq2O3mWXOs0O9hmIwOUh18IcOVReUDcqQUCpOmxJxyMGmtUDex X/AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jGC9L+7pxXyU36KbgW4EZBcBVpHS+cdKMiiEWJboxsg=; b=i3p3LmYyYR2ECnZHUdHxlwtkZioq11QPH02X8ZcadaWWU0NzRr/URclGKoTmRL8TZL 15+IqkMrH0Nxat31ccHSIhxLId1RHP/yyvvM0d7WSZzaoQqgbrMmINi+oDQ3cmNYOtdn MnLNEJmmlkCQqdiTTVDnA2Srh0aXqepu1twh7MUhBOLp3521+txdTdrFwK2C/pYXtYO2 A2ww1RV9AnI+D0vkZp2dy9y6i1PxMNYZ/wjcMl8VCIBNoVu5f11at3S82aoNA9k8b3cB Y8J6n3HiZr4fwYnm+fdirNHS1iGYLTVtMRavUhXQBNhxNtZL9RgyyXsaKKJuh7GZoz03 Gjxg== X-Gm-Message-State: ABuFfogDtNArvY528ng63jWoJldlOU09joB2M8E7LjxcyDMg/kIOt2ZC X3/g3Lkix9mLFNjJeIfYYyBtB3XhUEp70FT73Bo= X-Google-Smtp-Source: ACcGV62WtQ4AnqR5N/wq+YqQsVU5nNPQ0I7QhXttXBSiJO4plLVZ2nciR9h3WvvhHLV/OwTQSac8yN9okR+dHbelphU= X-Received: by 2002:a67:2604:: with SMTP id m4-v6mr4431018vsm.230.1538097975896; Thu, 27 Sep 2018 18:26:15 -0700 (PDT) MIME-Version: 1.0 References: <153807973105.1233.5572348777789365646@wrigleys.postgresql.org> <20180927210540.od23ee3aq4bpkbpj@alvherre.pgsql> In-Reply-To: <20180927210540.od23ee3aq4bpkbpj@alvherre.pgsql> From: =?UTF-8?B?TWFydMOtbiBNYXJxdcOpcw==?= Date: Thu, 27 Sep 2018 22:26:04 -0300 Message-ID: Subject: Re: Incorrect description of autovacuum_vacuum_threshold and autovacuum_vacuum_scale_factor To: Alvaro Herrera Cc: pgsql-docs@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk El jue., 27 sept. 2018 a las 18:05, Alvaro Herrera () escribi=C3=B3: > > I suggest adding "This number is added to the number coming from the > autovacuum_vacuum_scale_factor parameter for each table" just before the > "This parameter can only be set" phrase. So we'd end up with this: > > autovacuum_vacuum_threshold (integer) > Specifies the minimum number of updated or deleted tuples needed to trigg= er a VACUUM in any one table. The default is 50 tuples. This number is adde= d to the number coming from the autovacuum_vacuum_scale_factor parameter fo= r each table. This parameter can only be set in the postgresql.conf file o= r on the server command line; but the setting can be overridden for individ= ual tables by changing table storage parameters. > > autovacuum_vacuum_scale_factor (floating point) > Specifies a fraction of the table size to add to autovacuum_vacuum_thresh= old when deciding whether to trigger a VACUUM. The default is 0.2 (20% of t= able size). This number is added to the autovacuum_vacuum_threshold paramet= er for each table. This parameter can only be set in the postgresql.conf f= ile or on the server command line; but the setting can be overridden for in= dividual tables by changing table storage parameters. That looks very good IMO. -- Mart=C3=ADn Marqu=C3=A9s It=E2=80=99s not that I have something to hide, it=E2=80=99s that I have nothing I want you to see