Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys
В списке pgsql-bugs по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys |
| Дата | |
| Msg-id | 4948CA3D.1030200@enterprisedb.com обсуждение исходный текст |
| Ответ на | BUG #4586: Supporting of Binary instead Bytea for Primary Keys ("Miroslav Nachev" <miro@space-comm.com>) |
| Список | pgsql-bugs |
Miroslav Nachev wrote: > And how to specify that bytea MUST be exact 16 bytes? Well, you could put a constraint on the column, or create a domain with such a constraint. But if you're dealing with uuids, you really want to use the UUID data type anyway. > What about the speed > because this is very important? > 1st of all when the length is variable then the speed is low. The overhead is small enough that you'd never notice. > 2nd when the column is with bigger length which require pointer to the data > instead data, then the speed will be extremely low. Again you're just assuming some overhead that's completely insignificant in the big scheme of things. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера