Re: GIN improvements part2: fast scan - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: GIN improvements part2: fast scan
Date
Msg-id CAPpHfdt2uGgD1r+xnHO6SqN=ShgJeJqvWcjnVa2PU2ApP4H=hg@mail.gmail.com
Whole thread Raw
In response to GIN improvements part2: fast scan  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: GIN improvements part2: fast scan  (Rod Taylor <rod.taylor@gmail.com>)
Re: GIN improvements part2: fast scan  (Rod Taylor <pg@rbt.ca>)
List pgsql-hackers
On Fri, Nov 15, 2013 at 3:25 AM, Rod Taylor <rbt@simple-knowledge.com> wrote:
I checked out master and put together a test case using a small percentage of production data for a known problem we have with Pg 9.2 and text search scans.

A small percentage in this case means 10 million records randomly selected; has a few billion records.


Tests ran for master successfully and I recorded timings.



Applied the patch included here to master along with gin-packed-postinglists-14.patch.
Run make clean; ./configure; make; make install.
make check (All 141 tests passed.)

initdb, import dump


The GIN index fails to build with a segfault.

Thanks for testing. See fixed version in thread about packed posting lists.

------
With best regards,
Alexander Korotkov. 

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: GIN improvements part 1: additional information
Next
From: David Rowley
Date:
Subject: Re: Improve code in tidbitmap.c