Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAJoO-0003cd-Bz for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Jun 2016 16:25:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bAJoN-0001IQ-Me for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Jun 2016 16:25:03 +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 1bAJn2-0008Bi-P2 for pgsql-hackers@postgresql.org; Tue, 07 Jun 2016 16:23:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bAJmz-0000Sq-W1 for pgsql-hackers@postgresql.org; Tue, 07 Jun 2016 16:23:40 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u57GNZhu016310; Tue, 7 Jun 2016 12:23:35 -0400 From: Tom Lane To: "David G. Johnston" cc: Michael Paquier , Jeff Janes , Teodor Sigaev , pgsql-hackers Subject: Re: [BUGS] BUG #14155: bloom index error with unlogged table In-reply-to: References: <20160524144146.22598.42558@wrigleys.postgresql.org> <22311.1464134907@sss.pgh.pa.us> <24270.1464184933@sss.pgh.pa.us> <23767.1464926580@sss.pgh.pa.us> <13056.1464963920@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Tue, 07 Jun 2016 08:25:01 -0400" Date: Tue, 07 Jun 2016 12:23:35 -0400 Message-ID: <16309.1465316615@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org "David G. Johnston" writes: > On Tue, Jun 7, 2016 at 1:35 AM, Michael Paquier > wrote: >> I have finally given a shot at improving the docs with the attached. >> Comments are welcome. > [ assorted comments ] I adopted most of David's suggestions, whacked it around a bit further myself, and committed. See what you think. > ​It would be nice to give guidance on selecting a bit size for columns and > a signature length​. Yes, Wikipedia covers the topic but to get the reader > started some discussion of the relevant trade-offs when using larger > numbers than the default would be nice. I don't suspect using smaller the > default values is apt to be worthwhile... Agreed, but I didn't want to write such text myself. There's room for further improvement here. I did add a note in the main example about what happens with a non-default signature length, but that hardly constitutes guidance. BTW, it seemed to me while generating the example that the planner's costing for bloom index searches was unduly pessimistic; maybe there's work to do there? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers