Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YFyBW-0001ch-Sj for pgsql-bugs@arkaria.postgresql.org; Tue, 27 Jan 2015 04:55:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YFyBV-0008UG-M6 for pgsql-bugs@arkaria.postgresql.org; Tue, 27 Jan 2015 04:55:29 +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 1YFqqN-0004vR-Gh for pgsql-bugs@postgresql.org; Mon, 26 Jan 2015 21:05:11 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YFqqF-0000xD-8B for pgsql-bugs@postgresql.org; Mon, 26 Jan 2015 21:05:05 +0000 MIME-Version: 1.0 Subject: BUG #12675: BIGINT Datatype performance To: pgsql-bugs@postgresql.org From: derek.anderson@mspmac.org Date: Mon, 26 Jan 2015 21:04:37 +0000 Message-ID: <20150126210437.19767.89672@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.5 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 12675 Logged by: Derek Anderson Email address: derek.anderson@mspmac.org PostgreSQL version: 9.4.0 Operating system: Linux Description: I did some testing on bigint vs double precision datatype performance for a project we have going on here. To my surprise, I found the double precision (floating) was well over 200% faster than bigint in aggregate functions. I don't know if this qualifies as a bug, but it sure seems odd considering non-floating type datatypes usually perform much faster than floating. Please contact me if you wish to discuss. -Derek Derek Anderson 612.293.8515 Metropolitan Airports Commission derek.anderson@mspmac.org -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs