Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WbkYe-0001Hy-Mx for pgsql-performance@arkaria.postgresql.org; Sun, 20 Apr 2014 05:44:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WbkYd-00006R-V0 for pgsql-performance@arkaria.postgresql.org; Sun, 20 Apr 2014 05:44:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WbkYc-00006K-Qp for pgsql-performance@postgresql.org; Sun, 20 Apr 2014 05:44:50 +0000 Received: from blu0-omc4-s37.blu0.hotmail.com ([65.55.111.176]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WbkYZ-0000Pl-R5 for pgsql-performance@postgresql.org; Sun, 20 Apr 2014 05:44:49 +0000 Received: from BLU178-DS9 ([65.55.111.136]) by blu0-omc4-s37.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 19 Apr 2014 22:44:45 -0700 X-TMN: [9Caz77JWN32BcnCOiQ/0oxLgqvAfiFtG] X-Originating-Email: [greenreaper@hotmail.com] Message-ID: From: "Laurence Parry" To: Cc: References: In-Reply-To: Subject: Re: Workaround: Planner preference for tsquery filter vs. GIN index in fast text search Date: Sun, 20 Apr 2014 00:44:34 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-OriginalArrivalTime: 20 Apr 2014 05:44:45.0315 (UTC) FILETIME=[A2621530:01CF5C5B] X-Pg-Spam-Score: 0.6 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org > 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