Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 7E6E6633167 for ; Wed, 3 Mar 2010 22:07:24 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 45786-01 for ; Thu, 4 Mar 2010 02:07:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mail.postgresql.org (Postfix) with ESMTP id 77FFB63303A for ; Wed, 3 Mar 2010 22:07:13 -0400 (AST) Received: by fxm23 with SMTP id 23so777657fxm.3 for ; Wed, 03 Mar 2010 18:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Zo2zjfJKYcVW+tTFhvXWvdUY39FLmheHdeDpUN+Figs=; b=a66FN42TSxj858ZpktGJJN4pDryd9NVbCVovc1fm9IAU2iOlbs3FfdIiKxbQn5iICD O3fRWQxORxc021wO/TbYk6LE+I3pcbx6evBF3doYNUMZv3o18dYHd7ZsYnSOI5Bu2SHK 62SzHodTIGAsOZb/TS3G9zbiu2493UyfOqcP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rmyRqqKHWiLNuXm/KUfxEk1+Kdttsw0QBBhAFSZSSFi3sjNjXLw9L287B2i7AaD8k6 QJGbSXtmjFQcPKGdsGjwzDOSZ/0N1jAOonS0Ye6vPMIweyoeoU//SqtwqhOFNXDlwbTH kBI9rmmWdINamwoob9OzSzY44rhfx13RcVSyA= MIME-Version: 1.0 Received: by 10.239.174.15 with SMTP id h15mr947366hbf.46.1267668431413; Wed, 03 Mar 2010 18:07:11 -0800 (PST) In-Reply-To: <4B8ED891.7060405@agliodbs.com> References: <4B8ACFE7.6040207@agliodbs.com> <603c8f071003030912k5750abadif64cb36d67ab99ae@mail.gmail.com> <4B8ED891.7060405@agliodbs.com> Date: Wed, 3 Mar 2010 21:07:11 -0500 Message-ID: <603c8f071003031807p52f136edh683d19a1d5b46660@mail.gmail.com> Subject: Re: Estimation issue with partitioned tables From: Robert Haas To: Josh Berkus Cc: pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.403 tagged_above=-10 required=5 tests=AWL=0.040, BAYES_00=-2.599, SUBJECT_FUZZY_TION=0.156 X-Spam-Level: X-Archive-Number: 201003/66 X-Sequence-Number: 37891 On Wed, Mar 3, 2010 at 4:45 PM, Josh Berkus wrote: >> I feel like I've seen these way-too-high row estimates in some other >> postings to -performance, but I'm not sure if it was the same issue. >> You don't by chance have a RTC? I don't think it's likely fixed in 9.0 >> but it would be interesting to investigate. > > Yeah, I can generate one pretty easily; the behavior is readily > observable and repeatable. =A0Will get on it RSN, but at you said, we're > not doing anything about it for 9.0. > > I've a feeling that this will become one of the list of issues to be > fixed with 'real partitioning'. I can believe it. I can't promise anything, but like I say I'm willing to take a poke at it if you can provide me a test case. ...Robert