From: Radhika S <rs88820@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Joining on text field VS int
Date: Wed, 6 Jan 2010 23:21:47 -0500
Message-ID: <a222cb861001062021l3f29bdc6kb19a3970089b40ae@mail.gmail.com> (raw)
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 .
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: rs88820@gmail.com
Subject: Re: Joining on text field VS int
In-Reply-To: <a222cb861001062021l3f29bdc6kb19a3970089b40ae@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox