Re: numeric data types

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jaime Casanova" <el_vigia_ec(at)hotmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: numeric data types
Date: 2004-05-15 04:03:16
Message-ID: 3209.1084593796@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Jaime Casanova" <el_vigia_ec(at)hotmail(dot)com> writes:
> i have a question, is there any advantages in using numeric(1) or numeric(2)
> in place of smallint?

Performance-wise, smallint is an order of magnitude better.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message share-postgres 2004-05-15 10:52:27 filesystem option tuning
Previous Message Rod Taylor 2004-05-14 21:40:23 Re: TPCH 100GB - need some help