UUID, performance of primary keys

Поиск
Список
Период
Сортировка
От Andreas Junius
Тема UUID, performance of primary keys
Дата
Msg-id 4A39EBBB.5030205@junius.info
обсуждение исходный текст
Ответы Re: UUID, performance of primary keys  (Sean Davis <sdavis2@mail.nih.gov>)
Список pgsql-novice
Hi Postgres professionals,

I'd like to use UUID for object id's (java.util.UUID). Such an object
consists of two long values. I could now use two columns (int8) in a
table for the primary key or one using the string representation. But I
don't know which option is the more performant one or if there exist
another more suitable solution. Does anybody know more about this issue?

Andreas

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

Предыдущее
От: MITCHELL CIFUENTES
Дата:
Сообщение: Re: problem with sequence number using a trigger
Следующее
От: Sean Davis
Дата:
Сообщение: Re: UUID, performance of primary keys