Skip site navigation (1) Skip section navigation (2)

Re: Table Design Issue & PGSQL Performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: operationsengineer1(at)yahoo(dot)com
Cc: Postgresql Mailing list <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Table Design Issue & PGSQL Performance
Date: 2005-07-28 18:21:55
Message-ID: 25806.1122574915@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
<operationsengineer1(at)yahoo(dot)com> writes:
> will pgsql insert and query faster if i use int2
> compared to char(2)?

Yes, but whether the difference will be perceptible in the context of
your application is difficult to guess.  Try testing with some
quick-hack changes to your app.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Keith WorthingtonDate: 2005-07-28 18:47:30
Subject: Re: Table Design Issue & PGSQL Performance
Previous:From: operationsengineer1Date: 2005-07-28 17:33:09
Subject: Table Design Issue & PGSQL Performance

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group