Re: How much slower are numerics? - Mailing list pgsql-general

From Tom Lane
Subject Re: How much slower are numerics?
Date
Msg-id 1715.1129997099@sss.pgh.pa.us
Whole thread Raw
In response to Re: How much slower are numerics?  (Jon Lapham <lapham@jandr.org>)
List pgsql-general
Jon Lapham <lapham@jandr.org> writes:
> Tom Lane wrote:
>> On modern hardware, I'd expect float operations to be at least an order
>> of magnitude faster than numerics

> But, this is less than a factor of 2 difference, similar to what one of
> the previous INSERT examples showed.  Or am I missing something?

You're not thinking about the overhead imposed by the plpgsql loop
construct.

            regards, tom lane

pgsql-general by date:

Previous
From: David Busby
Date:
Subject: Large Table Performance
Next
From: Allen
Date:
Subject: out of memory for query result