Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8oVq-00084J-BF for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 19:47:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8oVo-0002Xc-Os for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 19:47:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8oVo-0002XT-G6 for pgsql-hackers@lists.postgresql.org; Tue, 05 Jul 2022 19:47:08 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8oVk-0006iE-Vs for pgsql-hackers@lists.postgresql.org; Tue, 05 Jul 2022 19:47:08 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id B3C46320093A; Tue, 5 Jul 2022 15:47:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 05 Jul 2022 15:47:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1657050421; x=1657136821; bh=Z wDYTPArn31p6mR1gIrsGqrHvwY0o2LSFKDaX4yoNr0=; b=ZoCoEAXElKEeSxKjB ejrAy/hxDvbydX36y1rg9ls7gmWIqE4gsKjreGj77LWsus7A6JkSDh+VSLVOneV7 ku/3rWHNPrQgoF2I7YpILx7SapQ87EJOQjM9UrgGdKbZU4J5dkAmX0cXhIWjAfT7 QbLsLBoROXa+cH6wj7l5INv1uUL2cp64dS5/Q7jeQVok0ZwSmR+CcmMrGwk+70W9 57Kx5CyqEUuYjXM3PPfc5/xFG244L+UH5Lzh++WDe/J6NoE4hL478PvYHfBQBp6J Tn+0Srm7YreQ414bWJqzNfptdxUUCpbWaXRCrWpvehqFU/GXdg4DnHACo1uUyyD1 wo/hw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeiuddgudegiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeej keffgfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghl vhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 15:47:00 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id D1BF435D; Tue, 5 Jul 2022 21:46:57 +0200 (CEST) Date: Tue, 5 Jul 2022 21:46:57 +0200 From: Alvaro Herrera To: Roberto Mello Cc: Jaime Casanova , Justin Pryzby , PostgreSQL Developers Subject: Re: doc: BRIN indexes and autosummarize Message-ID: <20220705194657.nvrle2hbtxqop3yk@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Jul-05, Roberto Mello wrote: > You removed the reference to the functions' documentation at > functions-admin-index choosing instead to duplicate a summarized > version of the docs, and to boot getting the next block to be blobbed > together with it. Actually, my first instinct was to move the interesting parts to the functions docs, then reference those, removing the duplicate bits. But I was discouraged when I read it, because it is just a table in a place not really appropriate for a larger discussion on it. Also, a reference to it is not direct, but rather it goes to a table that contains a lot of other stuff. > Keeping with the reduced-readability theme, you made the paragraphs > even bigger. While I do appreciate the time to clarify things a bit, as was > my original intent with the patch, [...] Hmm, which paragraph are you referring to? I'm not aware of having made any paragraph bigger, quite the opposite. In the original text, the paragraph "At the time of creation," is 13 lines on a browser window that is half the screen; in the patched text, that has been replaced by three paragraphs that are 7, 6, and 4 lines long, plus a separate one for the de-summarization bits at the end of the page, which is 3 lines long. > We should be writing documentation with the user in mind, not for our > developer eyes. Different target audiences. It is less helpful to have > awesome features that don't get used because users can't really > grasp the docs. I try to do that. I guess I fail more frequently that I should. > Paragraphs such as this feel like we're playing "summary bingo": > > When a new page is created that does not fall within the last > summarized range, the range that the new page belongs into > does not automatically acquire a summary tuple; > those tuples remain unsummarized until a summarization run is > invoked later, creating the initial summary for that range Yeah, I am aware that the word "summary" and variations occur way too many times. Maybe it is possible to replace "summary tuple" with "BRIN tuple" for example; can you propose some synonym for "summarized" and "unsummarized"? Perhaps something like this: > When a new page is created that does not fall within the last > summarized range, the range that the new page belongs into > does not automatically acquire a BRIN tuple; > those [pages] remain uncovered by the BRIN index until a summarization run is > invoked later, creating the initial BRIN tuple for that range (I also replaced the word "tuples" with "pages" in one spot.) -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Hay dos momentos en la vida de un hombre en los que no debería especular: cuando puede permitírselo y cuando no puede" (Mark Twain)