Re: TEXT field and Postgresql Perfomance

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: TEXT field and Postgresql Perfomance
Дата
Msg-id 20050108052313.GA3509@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: TEXT field and Postgresql Perfomance  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-performance
On Fri, Jan 07, 2005 at 10:03:23PM -0600, Bruno Wolff III wrote:
> On Fri, Jan 07, 2005 at 19:36:47 -0800, "Loren M. Lang" <lorenl@alzatex.com> wrote:
>
> > Since, according to the postgresql docs, theirs no performance
> > difference between VARCHAR and TEXT, I'm assuming VARCHAR is identical
> > to TEXT entries with a restriction set on the length.  And since TEXT
> > can be of any possible size, then they must be stored independently of
>
> No.
>
> > the rest of the table which is probably all stored in a fixed size rows
>
> No, Postgres uses variable length records.

A discussion of TOAST and ALTER TABLE SET STORAGE might be appropriate
here, but I'll defer that to somebody who understands such things
better than me.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

В списке pgsql-performance по дате отправления:

Предыдущее
От: Alex Turner
Дата:
Сообщение: Re: TEXT field and Postgresql Perfomance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TEXT field and Postgresql Perfomance