Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbBRi-0002f1-5P for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Feb 2017 19:28:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cbBRh-0004hb-F1 for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Feb 2017 19:28:57 +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.84_2) (envelope-from ) id 1cbBRh-0004hU-5I for pgsql-bugs@postgresql.org; Tue, 07 Feb 2017 19:28:57 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cbBRd-0001x6-9e for pgsql-bugs@postgresql.org; Tue, 07 Feb 2017 19:28:56 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 729262098A; Tue, 7 Feb 2017 14:28:50 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 07 Feb 2017 14:28:50 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=hckouyg0WFlStE78QxrsPHuemTA=; b=orh6WYtPrKKjXDviPhdk HS91XugExE/1ohC2CgUQfTgTj3fk2K3btjbxS3Mthzr1ggfLN38s4O2f48W+iFPN AOCs43x+xIpSajXXIzWstL2Y6tMN92k5Fx3YiPGovdncToDofVs4wFsAs6Opmtdy XfwtTIISlRrtVuG5jXU7oTg= X-ME-Sender: X-Sasl-enc: AscSiKvQ7ELLfpwIRWdkr0psspuw+mTOadNEpjTKX1dC 1486495730 Received: from intern.anarazel.de (unknown [208.72.138.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 30E312443E; Tue, 7 Feb 2017 14:28:50 -0500 (EST) Date: Tue, 7 Feb 2017 11:28:48 -0800 From: Andres Freund To: =?utf-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= Cc: pgsql-bugs@postgresql.org Subject: Re: backend_flush_after bytes/pages Message-ID: <20170207192848.deqytrme2nanhhjc@alap3.anarazel.de> References: <2b9e5c4a-be57-ec45-12c7-2d17e6ebd8b9@aegee.org> <20170207185720.uqep3szyulmej7no@alap3.anarazel.de> <27193232-f993-147f-4c07-8182d64c7611@aegee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <27193232-f993-147f-4c07-8182d64c7611@aegee.org> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi, (please don't top-quote on this list) On 2017-02-07 20:21:58 +0100, Дилян Палаузов wrote: > does > backend_flush_after = 7 > mean 7 bytes or seven pages? https://www.postgresql.org/docs/9.6/static/runtime-config-resource.html#GUC-BACKEND-FLUSH-AFTER suggests it means 7 bytes, which is not the reality. The documentation is misleading. 7 pages. But if you write '700kB' it'll be taken as bytes (with 8kB granularity). shared_buffers also is computed based on page-size and documented in bytes. Regards, Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs