Re: [COMMITTERS] pgsql: Bloom index contrib module

From: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Bloom index contrib module
Date: 2016-04-10 06:08:30
Message-ID: CAPpHfdv8wp1ybmkPFMjQZhmnZTwLSCZOzSCe0z-PjhKuf62W0Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sun, Apr 10, 2016 at 9:01 AM, Noah Misch <noah(at)leadboat(dot)com> wrote:

> On Sat, Apr 09, 2016 at 10:08:01PM -0400, Tom Lane wrote:
> > I wrote:
> > > I was depressed, though not entirely surprised, to find that you get
> > > exactly that same line-count coverage if the table size is cut back
> > > to ONE row.
> >
> > Oh, I found the flaw in my testing: there are two INSERTs in the test
> > script and I was changing only one of them. After correcting that,
> > the results behave a little more sanely:
> >
> > Line Coverage Functions
> > 1 row: 70.4 % 349 / 496 93.1 % 27 / 29
> > 10 row: 73.6 % 365 / 496 93.1 % 27 / 29
> > 100 rows: 73.6 % 365 / 496 93.1 % 27 / 29
> > 1000 rows: 75.4 % 374 / 496 93.1 % 27 / 29
> >
> > Still, we've reached the most coverage this test can give us at 1000
> > rows, which still means it's wasting the last 99% of its runtime.
>
> If dropping the row count to 1000 shaves >500ms on your primary machine, +1
> for committing such a row count change. This is exactly what I meant by
> "someone identifies a way to realize similar coverage with lower duration."
> Thanks for contributing this study.

+1, row count reduction is a good to reduce regression test time.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2016-04-10 14:06:03 pgsql: Fix possible NULL dereference in ExecAlterObjectDependsStmt
Previous Message Noah Misch 2016-04-10 06:01:02 Re: [COMMITTERS] pgsql: Bloom index contrib module

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2016-04-10 06:09:25 Re: Odd system-column handling in postgres_fdw join pushdown patch
Previous Message Alexander Korotkov 2016-04-10 06:03:37 Re: Move PinBuffer and UnpinBuffer to atomics