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

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема [GENERAL] B-tree index on a VARCHAR(4000) column
Дата
Msg-id 780beb7c-94f3-fed9-9959-73b725632949@cox.net
обсуждение исходный текст
Ответы Re: [GENERAL] B-tree index on a VARCHAR(4000) column  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [GENERAL] B-tree index on a VARCHAR(4000) column  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
Hi,

v 9.2.7

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)?

(I don't have access to the source code or to development boxes, so can't 
just test this on my own.)

Thanks,

-- 
World Peace Through Nuclear Pacification



-- 
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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] pg_rewind issue
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [GENERAL] BDR, wal segment has been removed, is it possible move forward?