Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YWCLD-0006cc-Tg for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Mar 2015 23:16:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YWCLD-0004ki-4E for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Mar 2015 23:16:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YWCLC-0004kb-2u for pgsql-bugs@postgresql.org; Thu, 12 Mar 2015 23:16:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YWCL1-0004Ta-3u for pgsql-bugs@postgresql.org; Thu, 12 Mar 2015 23:16:32 +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 t2CNGIqE003305; Thu, 12 Mar 2015 19:16:18 -0400 From: Tom Lane To: lcarson@sdsc.edu cc: pgsql-bugs@postgresql.org, Tomas Vondra Subject: Re: BUG #12859: views much slower in 9.4.1 than 8.4.7 In-reply-to: <55021CF6.7010400@2ndquadrant.com> References: <20150312205957.2516.65314@wrigleys.postgresql.org> <55021CF6.7010400@2ndquadrant.com> Comments: In-reply-to Tomas Vondra message dated "Fri, 13 Mar 2015 00:10:46 +0100" Date: Thu, 12 Mar 2015 19:16:18 -0400 Message-ID: <3304.1426202178@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Tomas Vondra writes: > On 12.3.2015 21:59, lcarson@sdsc.edu wrote: >> We have views that are running anywhere from 20x slower to failing to >> complete in 9.4.1 whereas in 8.4.7 they produced results in seconds >> or tensof seconds on the same platform. > You have not provided explain plans from 8.4, and I'd bet it was using a > different plan on that version. We'd really need far more information than that to investigate this. Please see https://wiki.postgresql.org/wiki/Slow_Query_Questions Also, as suggested on that page, pgsql-performance is likely a better venue for this discussion than pgsql-bugs. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs