From: Laurence Parry <greenreaper@hotmail.com>
To: obartunov@gmail.com
Cc: pgsql-performance@postgresql.org
Subject: Re: Workaround: Planner preference for tsquery filter vs. GIN index in fast text search
Date: Sun, 20 Apr 2014 00:44:34 -0500
Message-ID: <BLU178-DS9720D392424599507271CA55F0@phx.gbl> (raw)
In-Reply-To: <CAF4Au4w_th88hf9STrjATX1EW9w5xzjGXN8Mxar_E=2qc3JJcw@mail.gmail.com>
References: <BLU178-DS1116AC5CC07E7D50A4589CA55F0@phx.gbl>
<CAF4Au4w_th88hf9STrjATX1EW9w5xzjGXN8Mxar_E=2qc3JJcw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
> btw, 9.4 should be wiser in case of rare+common terms,
> thanks to GIN fast scan feature.
I'll look forward to it! We have a few other GIN indexes . . .
I don't want to misrepresent my impression of Postgres performance; the only
other case where I've made a significant improvement by tweaking was
pre-checking a couple of tables with count(*) > 0 before using them against
several thousand submissions (checking lists of blocked artists and keywords
against submission details). I've been pleasantly surprised at what it can
handle, especially after index-only scans came out.
--
Laurence "GreenReaper" Parry
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: greenreaper@hotmail.com, obartunov@gmail.com
Subject: Re: Workaround: Planner preference for tsquery filter vs. GIN index in fast text search
In-Reply-To: <BLU178-DS9720D392424599507271CA55F0@phx.gbl>
* 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