Re: Joining on text field VS int - Mailing list pgsql-performance

From Nikolas Everett
Subject Re: Joining on text field VS int
Date
Msg-id d4e11e981001071052l1a5b03e9mfd12b2579aa50815@mail.gmail.com
Whole thread Raw
In response to Joining on text field VS int  (Radhika S <rs88820@gmail.com>)
List pgsql-performance
Joining via a tinyint or something will make your large table smaller which is nice.  Smaller tables = faster tables.

On Wed, Jan 6, 2010 at 11:21 PM, Radhika S <rs88820@gmail.com> wrote:
Hi,
I am going to test this out but would be good to know anyways. A large
table is joined to a tiny table (8 rows) on a text field. Should I be
joining on an int field eg: recid intead of name? Is the performance
affected in either case?
Thanks .

pgsql-performance by date:

Previous
From: Brian Cox
Date:
Subject: Re: query looping?
Next
From: Dave Crooke
Date:
Subject: Re: pg_connect takes 3.0 seconds