Re: Disk space consumption: character varying(255) versus text used for index

Tom Lane <[email protected]> Fri, 20 Dec 2019 13:55:44 -0500
Newsgroups gmane.comp.db.postgresql.novice
Message-ID <[email protected]>
Marcel Ruff <[email protected]> writes:
> my btree index for
>    guid                | character varying(255)
> is currently 6.9GB (almost all guid entries are of size 37bytes)
> If I would change the data type to
>   guid                | text
> would the index size be reduced (without hitting performance)?

Wouldn't make any difference at all.

			regards, tom lane