Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCcI8-0002Wy-O6 for pgsql-hackers@arkaria.postgresql.org; Sun, 09 Feb 2014 21:51:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WCcI8-0003aZ-0E for pgsql-hackers@arkaria.postgresql.org; Sun, 09 Feb 2014 21:51:56 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCcI5-0003aO-Jy for pgsql-hackers@postgresql.org; Sun, 09 Feb 2014 21:51:53 +0000 Received: from smtp-vbr9.xs4all.nl ([194.109.24.29]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCcHx-0006Bp-Nb for pgsql-hackers@postgresql.org; Sun, 09 Feb 2014 21:51:53 +0000 Received: from webmail.xs4all.nl (dovemail19.xs4all.nl [194.109.26.21]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id s19LpcOQ062760; Sun, 9 Feb 2014 22:51:41 +0100 (CET) (envelope-from er@xs4all.nl) Received: from 83.163.19.29 (SquirrelMail authenticated user er) by webmail.xs4all.nl with HTTP; Sun, 9 Feb 2014 22:51:42 +0100 Message-ID: <7d44a67601f19440558ff698a31196d3.squirrel@webmail.xs4all.nl> In-Reply-To: <52F7F485.6010902@fuzzy.cz> References: <51D00FB6.9030008@vmware.com> <528533D9.3040501@vmware.com> <52E141BA.5000302@vmware.com> <52E4141E.60609@fuzzy.cz> <52E42AD0.5060600@vmware.com> <52E4AA3A.9000607@fuzzy.cz> <52E53458.2010106@vmware.com> <52E72A10.5040908@fuzzy.cz> <52EE21D1.2080804@vmware.com> <52EED0FC.2060503@fuzzy.cz> <52EEF472.9020106@fuzzy.cz> <52F7F485.6010902@fuzzy.cz> Date: Sun, 9 Feb 2014 22:51:42 +0100 Subject: Re: GIN improvements part2: fast scan From: "Erik Rijkers" To: "Tomas Vondra" Cc: pgsql-hackers@postgresql.org User-Agent: SquirrelMail/1.4.18 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Pg-Spam-Score: -2.5 (--) 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 On Sun, February 9, 2014 22:35, Tomas Vondra wrote: > On 3.2.2014 07:53, Oleg Bartunov wrote: >> PS. I used data delicious-rss-1250k.gz from >> http://randomwalker.info/data/delicious/ > > I'm working on extending the GIN testing to include this test (and I'll > use it to test both for GIN and hstore-v2 patches). > > I do have the dataset, but I need the queries too - how did you generate > the queries for your benchmark? Do you have some query generator at hand? > > In your Dublin talk I see just this query type > > select count(*) from hs where h @> 'tags=>{{term=>NYC}}'; > > but that seems inadequate for representative benchmark. Are there other > types of queries that need to be tested / might be interesting? E.g. > queries with multiple search terms etc.? > There is the hstore operators table (Table F-6) that you can perhaps use to generate queries? (I am working on this too.) At least it contains already a handful of queries. To get at the bits in that table, perhaps the perl program attached here helps: http://www.postgresql.org/message-id/f29d70631e2046655c40dfcfce6db3c3.squirrel@webmail.xs4all.nl YMMV, I guess... Erik Rijkers -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers