Re: [GENERAL] B-tree index on a VARCHAR(4000) column

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] B-tree index on a VARCHAR(4000) column
Дата
Msg-id 19165.1504871772@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [GENERAL] B-tree index on a VARCHAR(4000) column  (Ron Johnson <ron.l.johnson@cox.net>)
Ответы Re: [GENERAL] B-tree index on a VARCHAR(4000) column  (John Turner <fenwayriffs@gmail.com>)
Список pgsql-general
Ron Johnson <ron.l.johnson@cox.net> writes:
> Based on LENGTH(offending_column), none of the values are more than 144 
> bytes in this 44.2M row table.  Even though VARCHAR is, by definition, 
> variable length, are there any internal design issues which would make 
> things more efficient if it were dropped to, for example, VARCHAR(256)?

No.
        regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: hamann.w@t-online.de
Дата:
Сообщение: Re: [GENERAL] column names query
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: [GENERAL] B-tree index on a VARCHAR(4000) column