Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6yFl-0005N8-Mk for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Apr 2018 12:56:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f6yFj-0007PB-Sd for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Apr 2018 12:56:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6yFj-0007P1-79 for pgsql-hackers@lists.postgresql.org; Fri, 13 Apr 2018 12:56:31 +0000 Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f6yFe-0007yp-Jf for pgsql-hackers@postgresql.org; Fri, 13 Apr 2018 12:56:30 +0000 Received: by mail-qk0-x232.google.com with SMTP id f9so1026986qkm.12 for ; Fri, 13 Apr 2018 05:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=vUNgpx1m6NqwuNvto2bzuCgUzGDbh+NGXya/9TQhxqs=; b=QG/hqjeR13FqLTVPp1DNtKuqqdAae3ENa9E3B5w9MoIqXedFizieFSvHuio1kuGm9y 0NUnqzrVEWt26LYUkFB222rUpcneS03fokbLrl1Z7s5SMiD76YH4uaga6rqrmG/NqkW+ quKouv89/kubR5S5w7Uv/JviA/MaVrGP+RPdSxEJhztfNbZsq33DO/UytzcMoeA15X06 94RLp5ZlPXNmgjcdGz7VE1+XgG8EYrzVhmYmgwmzbp1nfCjcFe2fRX0TNfEFqjdmHeWV A4Fyl7vyk6NoTvbLlMt5nIZ7bjxhISGJ9llz3a8c9XZIZLdCc9RuFMZs//TyiOFnbwdU BSbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=vUNgpx1m6NqwuNvto2bzuCgUzGDbh+NGXya/9TQhxqs=; b=ixT4IhCVs/OhO6xk5X7ZA0jUJEaWQtm7noI35vCOINxT/10yGBdmbqOZGdCXdorIo1 IR4/0YW0oZcpthFLKSWaH5oNiPTgi1hMmXgXLe3hoYaTswywfjglltMxgZU21WHbtFzL kMTJ/vzsupgXOPOaXBHAMVrqiOll3AlV/+koWMq58q312a088FmXFEk3zbrlEiGeBIqg sBm3SFpLQVlo00UbS0GORpUXpqeXAZxSANCKWgV1IbV7sOBnAAT8PH6t4ruE+NSe6TYI rG6ZbUhNGdQZ37e56JWm0YgWf4Fly/9mLsDQfInUgp432u24h6eqFVBB1GwZ8wKsZdVE O4qQ== X-Gm-Message-State: ALQs6tDaLvULiAKoAmekDlUrs24F09xgPtEdGDpLQ9482iGFZnBJOQye Z4g2YGY1W+SXuitXOsk1n2rGRb+IO9SKba5E2dQs9bcBJa0KgYhftkpXrOJ2fMT4WvwxJkF2jTC QWk6zssWtSpdT5lFB2xc9z6TzWcnvf9nrmo9g2bpYm7Y9Q04oLNhHmdEK/UW+u1ERT0nv0wZO3F 45YoGgl9NDWvxs5g== X-Google-Smtp-Source: AIpwx49S+MjWgLewuYN9N8ZGDy96V+Jv7rCl166L0E1WoAET5Lvm6UIivI3dUVEVfkMgikTVOd3rug== X-Received: by 10.55.26.134 with SMTP id l6mr4454981qkh.206.1523624183544; Fri, 13 Apr 2018 05:56:23 -0700 (PDT) Received: from alderaan.marques (host218.200-82-61.telecom.net.ar. [200.82.61.218]) by smtp.googlemail.com with ESMTPSA id f189sm558219qkj.31.2018.04.13.05.56.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Apr 2018 05:56:22 -0700 (PDT) Subject: Re: vacuum_cost_limit doc description patch To: David Rowley Cc: pgsql-hackers References: From: =?UTF-8?Q?Mart=c3=adn_Marqu=c3=a9s?= Message-ID: Date: Fri, 13 Apr 2018 09:56:18 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------5722B1DC81C95F91665DF6FB" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------5722B1DC81C95F91665DF6FB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit El 11/04/18 a las 02:04, David Rowley escribió: > On 11 April 2018 at 09:13, Martín Marqués wrote: >> This is a patch to add some further description, plus the upper and >> lower limits it has. > > Hi, > > + for vacuum_cost_delay. The parameter can take a value > between 1 and 10000. > > vacuum_cost_delay should be in tags. > > +1 to mentioning that we sleep for vacuum_cost_delay, but I just don't > see many other GUCs with mention of their supported range. Thanks David for having a look. New version attached with the missing tags. > effective_io_concurrency mentions the range it supports, but this > happens to depend on USE_POSIX_FADVISE, which if undefined the maximum > setting is 0, which means the docs are wrong in some cases on that. > > vacuum_cost_limit seems fairly fixed at 0-10000 with no compile-time > conditions, so perhaps it's okay, providing we remember and update the > docs if that ever changes. I'm also adding a second patch over the config.sgml doc to fix what I believe is a misguidance in the minimum resolution time modern systems have. The patch just changes *many* for *some* systems which have a minimum resolution time of 10 milliseconds. -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --------------5722B1DC81C95F91665DF6FB Content-Type: text/x-patch; name="0001-Describe-better-vacuum_cost_limit-mentioning-the-low.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Describe-better-vacuum_cost_limit-mentioning-the-low.pa"; filename*1="tch"