Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWUBx-0005V5-Q6 for pgsql-performance@postgresql.org; Thu, 08 Nov 2012 15:38:53 +0000 Received: from smtprelay0218.b.hostedemail.com ([64.98.42.218] helo=smtprelay.b.hostedemail.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWUBv-0005OL-RB for pgsql-performance@postgresql.org; Thu, 08 Nov 2012 15:38:52 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay04.b.hostedemail.com (Postfix) with SMTP id E3E6A895C9; Thu, 8 Nov 2012 15:38:48 +0000 (UTC) X-Panda: scanned! X-Spam-Summary: 50, 0, 0, , d41d8cd98f00b204, alvherre@alvh.no-ip.org, :::::::, RULES_HIT:305:355:379:599:601:800:945:960:967:973:988:989:1260:1277:1311:1312:1313:1314:1345:1359:1437:1515:1516:1518:1519:1534:1540:1593:1594:1595:1596:1711:1730:1747:1777:1792:2198:2199:2393:2525:2560:2563:2682:2685:2690:2693:2828:2829:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3138:3139:3140:3141:3142:3352:3865:3866:3867:3868:3869:3870:3871:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4605:4659:5007:6119:6261:7514:7679:7901:7903:9025:9040:9121:10004:10400:10848:11256:11257:11658:11914:12517:12519:12740, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0 X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Filterd-Recvd-Size: 2265 Received: from perhan.alvh.no-ip.org (unknown [190.95.26.194]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf12.b.hostedemail.com (Postfix) with ESMTPA; Thu, 8 Nov 2012 15:38:48 +0000 (UTC) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id CBAE86E235; Thu, 8 Nov 2012 12:38:45 -0300 (CLST) Date: Thu, 8 Nov 2012 12:38:45 -0300 From: Alvaro Herrera To: Rodrigo Rosenfeld Rosas 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 Message-ID: <20121108153845.GD7225@alvh.no-ip.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <509BD01F.6030602@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201211/113 X-Sequence-Number: 48479 Rodrigo Rosenfeld Rosas escribi=F3: > 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 i= f > >>the commit above fixed this issue. > >AFAICT, HEAD and 9.2 branch tip plan this query a bit faster than 9.1 > >does. >=20 > 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. --=20 =C1lvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services