Multiple column indexes

Поиск
Список
Период
Сортировка
От Garth Keesler
Тема Multiple column indexes
Дата
Msg-id 45B1211C.1030001@gdcjk.com
обсуждение исходный текст
Ответы Re: Multiple column indexes  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-general
I have a primary key made up of two varchar(128) columns, typically less
than 16 chars each. Concatenating the two columns would still be unique.
Would it make sense to concat the two columns, using a unique separator
like '~' and index on that single column or would that be more trouble
than the potential performance gains?

Thanx,
Garth

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

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: Spam from EnterpriseDB?
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Multiple column indexes