Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X0GWV-0004T2-Ug for pgsql-performance@arkaria.postgresql.org; Thu, 26 Jun 2014 20:44:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X0GWV-0008MK-E3 for pgsql-performance@arkaria.postgresql.org; Thu, 26 Jun 2014 20:43:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X0GWT-0008KK-MX for pgsql-performance@postgresql.org; Thu, 26 Jun 2014 20:43:57 +0000 Received: from qmta12.westchester.pa.mail.comcast.net ([2001:558:fe14:44:76:96:59:227]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X0GWP-0001kB-Rx for pgsql-performance@postgresql.org; Thu, 26 Jun 2014 20:43:56 +0000 Received: from omta18.westchester.pa.mail.comcast.net ([76.96.62.90]) by qmta12.westchester.pa.mail.comcast.net with comcast id K30V1o0011wpRvQ5C8jqWF; Thu, 26 Jun 2014 20:43:50 +0000 Received: from [IPV6:2600:1001:b001:8f4c:bf8b:880b:9cf5:bc23] ([IPv6:2600:1001:b001:8f4c:bf8b:880b:9cf5:bc23]) by omta18.westchester.pa.mail.comcast.net with comcast id K8jp1o00y2XkQde3e8jq5N; Thu, 26 Jun 2014 20:43:50 +0000 User-Agent: K-9 Mail for Android In-Reply-To: <53AC8203.5030809@optionshouse.com> References: <53AB2CB1.8080201@comcast.net> <53AB35CC.10202@optionshouse.com> <1801a5d4-c3f1-4c0c-9c2c-ffb9d7f723a3@email.android.com> <53AC8203.5030809@optionshouse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: how to improve perf of 131MM row table? From: Aaron Weber Date: Thu, 26 Jun 2014 16:43:47 -0400 To: Shaun Thomas ,Jeff Janes CC: "pgsql-performance@postgresql.org" Message-ID: <793dbf54-9aee-41c7-8fdb-613b800ba80d@email.android.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1403815430; bh=DJYROX1AUTGZ3CpdPX7GQeFSXNU5fufROp00iKDksGA=; h=Received:Received:MIME-Version:Content-Type:Subject:From:Date:To: Message-ID; b=uN7oyoGarPpO/lra2RvmXgTusE0TxnwbtZO+aKpedL5KTwO11hOngLrXy4UKgrjYq stgiYj4ECjEybBAZbltv55OFkIV3wJ7QiLaP1JwLIMoY/gno3IGAxuhkfIR/2UJgsr UubE8860GjhEmnluQ8HtjOmxrX/YzhFDbHcKZuIIYsPP1pP4khmITzINjC38Y1Xum3 o7TYRFFJcNSeTDW4HiUcORNeav3mKyEjM+kQV9fLzHnJrLOC9HWx0qtErgnR6dx4l1 jpwyTZIaqPpQjBy63VnPATLqH4rk1oLli35e7diKJmMc1RLAj/FSfIGEny93wcLo49 nxEZHDcJejqaw== X-Pg-Spam-Score: -2.0 (--) 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 >I'm curious to see if Aaron can test his structure on 9.3 with the >original data and WHERE clause and see if the planner still goes for >the >terrible plan. If it does, that would seem like an obvious planner >tweak >to me. I will try to spin up a test 9.3 db and run the same queries to see if this is the case. Least I can do in return for the help. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance