pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: Teodor Sigaev <teodor@sigaev.ru>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] BUG #14155: bloom index error with unlogged table
Date: Tue, 07 Jun 2016 12:23:35 -0400
Message-ID: <16309.1465316615@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwb+7YXpfs1SFzRh7i-UrNC0=R8eHhFGCL6S=OaMQLU1vg@mail.gmail.com>
References: <20160524144146.22598.42558@wrigleys.postgresql.org>
	<22311.1464134907@sss.pgh.pa.us>
	<CAKFQuwag=_W+nRzx=k6ZTsKO_tZcqNWQdEF5Px0XpW6tFe3Mwg@mail.gmail.com>
	<CAMkU=1wQ6SmGL50rVzif4+4aJvrM5r8LPRYPuEg2OLy-0yw2og@mail.gmail.com>
	<24270.1464184933@sss.pgh.pa.us>
	<23767.1464926580@sss.pgh.pa.us>
	<CAB7nPqQH0A9-Vi9iykupjdXBqVVswC0NMQy39DB=e6VK0XBa1w@mail.gmail.com>
	<CAB7nPqRfmkvZgKaiGsozHC6fPoDXkV3tBqL6uZ-UY4SUA8H1iA@mail.gmail.com>
	<13056.1464963920@sss.pgh.pa.us>
	<CAB7nPqQB8dcFmY1uodmiJOSZdhBFOx-us-uW6rfYrzhpEiBR2g@mail.gmail.com>
	<CAKFQuwb+7YXpfs1SFzRh7i-UrNC0=R8eHhFGCL6S=OaMQLU1vg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tue, Jun 7, 2016 at 1:35 AM, Michael Paquier <michael.paquier@gmail.com>
> 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



view thread (22+ messages)  latest in thread

Message-ID: <16309.1465316615@sss.pgh.pa.us>
Permalink:  ../16309.1465316615@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16309.1465316615@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, michael.paquier@gmail.com, jeff.janes@gmail.com, teodor@sigaev.ru, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #14155: bloom index error with unlogged table
  In-Reply-To: <16309.1465316615@sss.pgh.pa.us>
  References: <20160524144146.22598.42558@wrigleys.postgresql.org> <22311.1464134907@sss.pgh.pa.us> <CAKFQuwag=_W+nRzx=k6ZTsKO_tZcqNWQdEF5Px0XpW6tFe3Mwg@mail.gmail.com> <CAMkU=1wQ6SmGL50rVzif4+4aJvrM5r8LPRYPuEg2OLy-0yw2og@mail.gmail.com> <24270.1464184933@sss.pgh.pa.us> <23767.1464926580@sss.pgh.pa.us> <CAB7nPqQH0A9-Vi9iykupjdXBqVVswC0NMQy39DB=e6VK0XBa1w@mail.gmail.com> <CAB7nPqRfmkvZgKaiGsozHC6fPoDXkV3tBqL6uZ-UY4SUA8H1iA@mail.gmail.com> <13056.1464963920@sss.pgh.pa.us> <CAB7nPqQB8dcFmY1uodmiJOSZdhBFOx-us-uW6rfYrzhpEiBR2g@mail.gmail.com> <CAKFQuwb+7YXpfs1SFzRh7i-UrNC0=R8eHhFGCL6S=OaMQLU1vg@mail.gmail.com> <16309.1465316615@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox