Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRliD-0001ap-Ln for pgsql-performance@arkaria.postgresql.org; Thu, 03 Oct 2013 16:25:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VRliD-0007Za-2C for pgsql-performance@arkaria.postgresql.org; Thu, 03 Oct 2013 16:25:13 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRliA-0007YR-E4 for pgsql-performance@postgresql.org; Thu, 03 Oct 2013 16:25:12 +0000 Received: from vexbert.mr-paradox.net ([2001:470:b:28:f::1]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRli0-0005ZU-LD for pgsql-performance@postgresql.org; Thu, 03 Oct 2013 16:25:07 +0000 Received: by vexbert.mr-paradox.net (Postfix, from userid 18391) id 3C6508476E; Thu, 3 Oct 2013 12:25:00 -0400 (EDT) Date: Thu, 3 Oct 2013 09:25:00 -0700 From: David Kerr To: Samuel Stearns Cc: Claudio Freire , David Johnston , "pgsql-performance@postgresql.org" Subject: Re: 57 minute SELECT Message-ID: <20131003162500.GA5763@mr-paradox.net> References: <1380763034169-5773174.post@n5.nabble.com> <20131003162049.GA5072@mr-paradox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131003162049.GA5072@mr-paradox.net> User-Agent: Mutt/1.4.2.3i X-Pg-Spam-Score: -0.7 (/) 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 On Thu, Oct 03, 2013 at 09:20:52AM -0700, David Kerr wrote: - On Thu, Oct 03, 2013 at 01:47:29AM +0000, Samuel Stearns wrote: - - Thanks, Claudio: - - - - http://explain.depesz.com/s/WJQx - - You're spending a lot of time in the hash join which can kill a system with - low ram. - - You may, just for fun, want to try the query with enable_hashjoin=false. Sorry, ignore that, more coffe before mailing lists for me. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance