Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXdXW-0007PY-SA for pgsql-performance@arkaria.postgresql.org; Tue, 08 Apr 2014 21:26:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXdXW-0000nc-7S for pgsql-performance@arkaria.postgresql.org; Tue, 08 Apr 2014 21:26:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXdXV-0000nW-DC for pgsql-performance@postgresql.org; Tue, 08 Apr 2014 21:26:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXdXT-0008Pc-6H for pgsql-performance@postgresql.org; Tue, 08 Apr 2014 21:26:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s38LQbBM028395; Tue, 8 Apr 2014 17:26:37 -0400 From: Tom Lane To: uher dslij cc: pgsql-performance@postgresql.org Subject: Re: Performance regressions in PG 9.3 vs PG 9.0 In-reply-to: References: Comments: In-reply-to uher dslij message dated "Tue, 08 Apr 2014 15:58:52 -0400" Date: Tue, 08 Apr 2014 17:26:37 -0400 Message-ID: <28394.1396992397@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) 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 uher dslij writes: > The EXPLAINs all pretty much look like my original post. The planner in > 9.2 and above is simply not using bitmap heap scans or bitmap index scans? > What could be the reason for this? I don't see any reason to think this is a planner regression. The rowcount estimates are pretty far off in both versions; so it's just a matter of luck that 9.0 is choosing a better join order than 9.3. I'd try cranking up the statistics targets for the join columns (particularly domain_id) and see if that leads to better estimates. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance