Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 087109FB7AA for ; Mon, 12 Feb 2007 15:06:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 07097-06 for ; Mon, 12 Feb 2007 15:05:54 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by postgresql.org (Postfix) with ESMTP id A293E9FB781 for ; Mon, 12 Feb 2007 15:05:24 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1346785ugf for ; Mon, 12 Feb 2007 11:05:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cMk8nZIv4NX/faM3iZvUj1DOg+51s+q19VrO0uD3KDRqAu8B5M6DyoEY3DPJtvBz6WVNGZ0wRg8ZVRfvbm4+oYpYF8vervNggB7GhTqmUSvzro/8TFhcV1mjCvJ+IT/ElZyr81wAlqbGTLF4Vtk8EOxdEOQXum7ysdh4+8P8SuA= Received: by 10.78.179.12 with SMTP id b12mr31178huf.1171307119037; Mon, 12 Feb 2007 11:05:19 -0800 (PST) Received: by 10.78.35.18 with HTTP; Mon, 12 Feb 2007 11:05:18 -0800 (PST) Message-ID: Date: Mon, 12 Feb 2007 14:05:18 -0500 From: "Merlin Moncure" To: "Mark Stosberg" Subject: Re: cube operations slower than geo_distance() on production server Cc: pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/116 X-Sequence-Number: 23170 On 2/12/07, Merlin Moncure wrote: > cube_distance(pets.earth_coords, earth_coords ) / 1609.344 AS RADIUS this should read: cube_distance(pets.earth_coords, zipcodes.earth_coords ) / 1609.344 AS RADIUS merlin