Re: How much slower are numerics?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: lapham(at)jandr(dot)org
Cc: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>, CSN <cool_screen_name90001(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: How much slower are numerics?
Date: 2005-10-22 16:04:59
Message-ID: 1715.1129997099@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jon Lapham <lapham(at)jandr(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Allen 2005-10-22 19:46:18 out of memory for query result
Previous Message Dean Gibson (DB Administrator) 2005-10-22 15:16:48 Re: Blank-padding