Re: Test database for new installs?

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Test database for new installs?
Date: 2004-11-22 18:34:56
Message-ID: 41A23150.40102@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Josh Berkus wrote:
> Andreas,
>
>
>>- Usage of varchar for key column
>
>
> And? Varchar is somehow implicitly inferior for keys?
>
> Watch it ... you're about to hit one of my "abuses of SQL" pet-peeves, the
> overuse on INT surrogate keys ...

You might be right for small dbs, but a temperature database will likely
contain millions of rows, if filled in the real world. varchar will
probably make the table several times bigger than needed.

Additionally, I regretted *every* case where I decided to use some text
data as key, sooner or later.

Regards,
Andreas

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2004-11-22 18:35:30 Re: Test database for new installs?
Previous Message Rod Taylor 2004-11-22 18:27:18 64Bit Solaris Compile