Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWUGz-00075A-3Q for pgsql-performance@postgresql.org; Thu, 08 Nov 2012 15:44:05 +0000 Received: from mail-gh0-f174.google.com ([209.85.160.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWUGw-0005Si-If for pgsql-performance@postgresql.org; Thu, 08 Nov 2012 15:44:04 +0000 Received: by mail-gh0-f174.google.com with SMTP id g15so606730ghb.19 for ; Thu, 08 Nov 2012 07:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=8SndquwPZ8IAMKyJGanslHiNrP/7t0oaw9ULldicF6o=; b=K3xrstiCIBHBvQ7mmvuLrbPkLUCuJtGQoU/9do1IwRCL3xvDmB50ZbCK07SURCDsFc 0R0G0EJkL4yzJJkIjpCIjRspPFOhKWFhp3KV62ZIU0n6XSiPb1zZJ9DGcQybPVMQJ72A LjicZ/AosLdE2dMXo5+IBNX4dx9NJk0Ake8pBO29cGJSRlNwTxOhFfVs+tDls5fnh8cO IjedNcX4a2iPG6MP+afX49qHOubxy1OHIt5uzJ3NVlGYJMPzrmBFT7OlNdLv16TOytW3 zNG2IZX02TFV6CZqnEI9pIsB0e0GkqPPfmMKVPife6LXpnARNuP+ZGe+OH0mW0MxNLzA m9FA== Received: by 10.236.73.70 with SMTP id u46mr8635731yhd.59.1352389441575; Thu, 08 Nov 2012 07:44:01 -0800 (PST) Received: from [187.36.240.170] ([187.36.240.170]) by mx.google.com with ESMTPS id q5sm19878110anh.16.2012.11.08.07.44.00 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Nov 2012 07:44:01 -0800 (PST) Message-ID: <509BD33E.2030802@gmail.com> Date: Thu, 08 Nov 2012 13:43:58 -0200 From: Rodrigo Rosenfeld Rosas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10 MIME-Version: 1.0 To: Alvaro Herrera CC: Tom Lane , Merlin Moncure , pgsql-performance@postgresql.org Subject: Re: Query completed in < 1s in PG 9.1 and ~ 700s in PG 9.2 References: <17866.1352229874@sss.pgh.pa.us> <50996583.2080703@gmail.com> <18371.1352231105@sss.pgh.pa.us> <509A42F9.6040403@gmail.com> <10569.1352307514@sss.pgh.pa.us> <509AD4C4.5070003@gmail.com> <6034.1352336282@sss.pgh.pa.us> <509BD01F.6030602@gmail.com> <20121108153845.GD7225@alvh.no-ip.org> In-Reply-To: <20121108153845.GD7225@alvh.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201211/114 X-Sequence-Number: 48480 Em 08-11-2012 13:38, Alvaro Herrera escreveu: > Rodrigo Rosenfeld Rosas escribió: >> Em 07-11-2012 22:58, Tom Lane escreveu: >>> Rodrigo Rosenfeld Rosas writes: >>>> Ok, I could finally strip part of my database schema that will allow you >>>> to run the explain query and reproduce the issue. >>>> There is a simple SQL dump in plain format that you can restore both on >>>> 9.1 and 9.2 and an example EXPLAIN query so that you can see the >>>> difference between both versions. >>>> Please keep me up to date with regards to any progress. Let me know if >>>> the commit above fixed this issue. >>> AFAICT, HEAD and 9.2 branch tip plan this query a bit faster than 9.1 >>> does. >> Great! What is the estimate for 9.2.2 release? > Hasn't been announced, but you can grab a snapshot right now from > ftp.postgresql.org if you want. Thank you, Álvaro, but I prefer to use official Debian packages instead since they are easier to manage and more integrated to our OS. For now I have rolled back to 9.1 this morning and it is working fine, so I don't have any rush. I just want an estimate to know when I should try upgrading 9.2 from experimental again after 9.2.2 is released. Cheers, Rodrigo.