Re: text fields and performance for ETL - Mailing list pgsql-docs

From Tom Lane
Subject Re: text fields and performance for ETL
Date
Msg-id 142190.1635965447@sss.pgh.pa.us
Whole thread Raw
In response to Re: text fields and performance for ETL  (Grega Jesih <Grega.Jesih@actual-it.si>)
List pgsql-docs
Grega Jesih <Grega.Jesih@actual-it.si> writes:
> It matters a lot. It means time saving. Plenty of time. So we're talking performance. Not postgres performance,
interfaceperformance. 

One more time: our docs are here to explain Postgres performance.
It is very easy to show that char/varchar are strictly worse than
text so far as Postgres is concerned.  Other tools need to document
their own performance considerations in their own docs.

Now, if you have a *semantic* consideration, like "a state abbreviation
should be exactly two characters", those datatypes might help you
with enforcing that.  But that's not a performance consideration.

            regards, tom lane



pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: text fields and performance for ETL
Next
From: Grega Jesih
Date:
Subject: RE: text fields and performance for ETL