join by char(16) or by bytea?

Поиск
Список
Период
Сортировка
От Sergei Shelukhin
Тема join by char(16) or by bytea?
Дата
Msg-id 1176066966.007769.50700@o5g2000hsb.googlegroups.com
обсуждение исходный текст
Ответы Re: join by char(16) or by bytea?
Список pgsql-general
One more newbie question.
Due to limitations of both pg and php I gave up on the attempts to
make bigint keys work; I have a choice between 16-byte character
strings or "8-byte" bytea (decode(string_from_above, "hex")) for an
index column for a table.

Which one will be faster for exact matches and joins? Tables will be
big,
there will be no range queries and no partial matching.

Again I cannot test it because I lack production data, I wonder if
it's common knowledge?


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

Предыдущее
От: "Simon István"
Дата:
Сообщение: PlPg/SQL mulit-array as a parameter?
Следующее
От: "marcel.beutner"
Дата:
Сообщение: Re: newid() in postgres